Init commit
This commit is contained in:
@ -4,6 +4,10 @@
|
||||
|
||||
package routers
|
||||
|
||||
func HomeGet() string {
|
||||
return "Hello world!"
|
||||
import (
|
||||
"github.com/martini-contrib/render"
|
||||
)
|
||||
|
||||
func Home(r render.Render) {
|
||||
r.HTML(200, "home", map[string]interface{}{})
|
||||
}
|
||||
|
Reference in New Issue
Block a user