Documentation ¶
Overview ¶
Gogs(Go Git Service) is a Self Hosted Git Service in the Go Programming Language.
Directories ¶
Path | Synopsis |
---|---|
modules
|
|
avatar
It is recommend to use this way cacheDir := "./cache" defaultImg := "./default.jpg" http.Handle("/avatar/", avatar.CacheServer(cacheDir, defaultImg))
|
It is recommend to use this way cacheDir := "./cache" defaultImg := "./default.jpg" http.Handle("/avatar/", avatar.CacheServer(cacheDir, defaultImg)) |
log
Package log is a wrapper of logs for short calling name.
|
Package log is a wrapper of logs for short calling name. |
middleware
foked from https://github.com/martini-contrib/render/blob/master/render.go
|
foked from https://github.com/martini-contrib/render/blob/master/render.go |
Click to show internal directories.
Click to hide internal directories.