repositorypackage
0.0.6
Repository: https://github.com/n-creativesystem/go-fwncs.git
Documentation: pkg.go.dev
# README
N-CreativeSystem Framework
Golang original framework
Content
Example
package main
import (
"github.com/n-creativesystem/go-fwncs"
)
func main() {
router := fwncs.Default()
router.GET("/", func(c fwncs.Context) {})
api := router.Group("/api/v1")
{
api.GET("/resource/:name", func(c fwncs.Context) {})
api.GET("= /resource/full-match", func(c fwncs.Context) {})
}
router.Run(8080) // or router.RunTLS(8443, "server.crt", "server.key")
}