go-lang-skeleton

command module
v0.0.0-...-4de53a9 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: MIT Imports: 6 Imported by: 0

README

go-lang-skeleton

go-lang-skeleton is an API for learning. It consists of three main service

Tech

go-lang-skeleton uses a number of open source projects to work properly:

  • Mux
  • Gorm
  • JWT
  • .ENV
Installation

go-lang-skeleton requires go version go1.12.7 to run.

Install the dependencies and devDependencies and start the server.

$ go get github.com/gorilla/mux
$ go get github.com/jinzhu/gorm
$ go get github.com/dgrijalva/jwt-go
$ go get github.com/joho/godotenv
$ go get github.com/lib/pq
$ go run main.go
Development

To test the current service, just run this command in command line

$ go run main.go

And it will shows the results of test.

As there are three main service in this project, these are the details of each service

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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