jeffs-basic-go-template

command
v0.0.0-...-a2a1f02 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT Imports: 5 Imported by: 0

README

jeffs-basic-go-template example

A simple go template with flags, logging & error handling.

Just copy/paste to use in your projects.

Refer to the following go examples for more information,

GitHub Webpage

RUN

Remember to get the packages,

go get -u -v github.com/sirupsen/logrus
go get -u -v github.com/pkg/errors

The default flag i=42 which will be an error. Hence set the flag i to any other integer,

go run jeffs-basic-go-template.go
go run jeffs-basic-go-template.go -i 42
go run jeffs-basic-go-template.go -i 10

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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