A basic boilerplate for developing Rest API using GoLang and Fiber
- fiber
- mysql-driver
- ORM
- INI config parser
- authentication
- pretty error handling (with json)
- template engine (!)
- swagger-ui
- web-socket support
- docker image
- Clone the repo
go mod download
go run main.go
There is a config.sample.ini
file which will be parsed by default. Custom config.ini
file can be provided by
go run main.go -c dev.config.ini
$ go build ./main.go
$ ./main--help
-c string
Config File (default "config.sample.ini")
-h string
Host (default "127.0.0.1")
-p int
Port (default 3000)
Not decided yet