Skip to content

n-creativesystem/go-fwncs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-CreativeSystem Framework

Golang original framework

Inspired by Gin + Echo.

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")
}

About

golang original framework

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages