command
module
Version:
v0.0.0-...-532da8c
Opens a new window with list of versions in this module.
Published: Oct 7, 2019
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
first-api-go
Example of API in Golang
Getting started
Prerequisites
You're going to need:
- Go or Docker. (Its important configure the $GOPATH, in the link has an explain about)
Setting up Dev
- Create
config.toml
like config-example.toml
. Put all envs values like PORT.
Building / Run
Go
# build and run
go run main.go
# Build and generate exec
go build
# exec the app builded
./first-api-go
Docker
make build && make run
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.