# README
API
API is a package to provide http server with commons features. The core use the echo framework.
Install
$> go get github.com/gofast-pkg/api@latest
Usage
// Read documentation for more details usages
// With New(), api assume that you initialize the configuration with viper.
// Else, call the NewWithConfig() method to get you api instance.
import (
"github.com/spf13/viper"
"github.com/go-fast/api"
)
func main() {
viper.AutomaticEnv()
api, err := server.New()
if err != nil {
panic(err)
}
if err = s.Start(); err != nil {
panic(err)
}
}
Contributing
:grey_exclamation: Use issues for everything
Read more informations with the CONTRIBUTING_GUIDE
For all changes, please update the CHANGELOG.txt file by replacing the existant content.
Thank you :pray: :+1:
Made with contrib.rocks.