api-go-example

command module
v0.0.0-...-af8d6c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2019 License: MIT Imports: 4 Imported by: 0

README

Api-Go-Example

Api example in Go with go-gonic, gorm and testify

Before Usage

  • Create .env and .env.testing from .env.example
  • Launch postgresql and create database DB_NAME in .env or/and .env.testing

Usage

  • For functional test go test -v ./test/functional/*.go
  • For unit test go test -v ./test/unit/*.go
  • For launch server go run main.go

Technology

- Go
- Gin-Gonic
- Gorm
- CORS
- Testify
- GolintCI-Lint

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
source
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL