Skip to content

brotherday/mainstream-backend

Repository files navigation

Mainstream

Go Reference

How to clone this repository

$ git clone https://github.com/brotherday/mainstream-backend
$ cd mainstream-backend

Requirements

This project requires to install go >= 1.9.

How to check your version

$ go version

and it should returns:

go version go<version number> <platform os>/<arch>

How to update

Follow the link below and install the new version.

How to install the lastest version of go

Download and install go from the official website here https://go.dev/doc/install

How to install all dependencies

$ go mod download

How to run

It is that easy.

$ go run .

How to build

You may create a build whenever you would like to build a standalone executable for your platform.

$ go build

How to install the software in the current path

$ go install