# README
Gee is base on gin framework
Usage
import "github.com/goapt/gee"
router := gee.Default()
router.GET("/", func(c *gee.Context) error {
return c.String("hello")
})
Proto API tools
go install github.com/goapt/gee/cmd/protoc-gen-go-gee-errors
go install github.com/goapt/gee/cmd/protoc-gen-go-gee-http
generate error
protoc --proto_path=. --proto_path=../third_party \
--go_out=paths=source_relative:. \
--go-gee-errors_out=paths=source_relative:. \
./proto/demo/v1/error_reason.proto
generate http
protoc --proto_path=. --proto_path=../third_party \
--go_out=paths=source_relative:. \
--go-gee-http_out=paths=source_relative:. \
./proto/demo/v1/demo.proto
For example: /example
# Packages
No description provided by the author
No description provided by the author
nolint:gomnd.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
DebugMode indicates gin mode is debug.
No description provided by the author
No description provided by the author
ReleaseMode indicates gin mode is release.
TestMode indicates gin mode is test.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
Client is an HTTP client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
IRoutes defines all router handle interface.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
H is a shortcut for map[string]interface{}.
No description provided by the author