Skip to content

buyco/funicular

Repository files navigation

Funicular

GoDoc Build Status Go Report Card codecov license

01000110 01010101 01001110 01001001 01000011 01010101 01001100 01000001 01010010

Simple facades to create commands.

How to install Go ?

Debian / Ubuntu:

$ sudo apt update
$ sudo apt install golang

Arch:

$ sudo pacman -Sy go

Mac OS X:

$ brew update
$ brew install golang

Last release from script:

See: https://github.com/udhos/update-golang

From tarballs:

See: https://golang.org/doc/install

Check golang version

$ go version

Install from Makefile

Commands:

To list available commands:

$ make help

To compile examples:

$ make build

To check (vet / lint / fmt)

$ make check
$ make lint # only lint
$ make vet # only vet
$ make fmt # only fmt

To run tests:

$ go install github.com/joho/godotenv/cmd/godotenv
$ godotenv -f <env_file> make test