Skip to content

michaeljs1990/lucy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lucy

GoDoc Build Status

Lucy sets out to be a simplistic router written in Go that provides you everything you need in a base router. For more information on this package see the GoDoc listed here.

Example Use

Below is an example of how you can use the easy param service to get params that you have defined and pass them into your http.Handler function.

  func main() {
	t := lucy.Kickstart()

	t.Get("/test/:id", func(e *lucy.Service) {
		e.W.Write([]byte(e.Param.Get("id")))
	})

	r.Run(8080)
  }

Please take a look at the code and leave me any bugs, comments or pull requests.

About

A simple golang router.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages