Skip to content

richardbertozzo/first-api-go

Repository files navigation

first-api-go

Actions Status Go Report Card

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

About

Example of API in Golang

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published