GolangAppSkeleton

command module
v0.0.0-...-043c535 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 5 Imported by: 0

README

Golang App Skeleton

This is a skeleton for a golang web application optimized for simplicity and rapid development.

Prerequisites

  • Go 1.15 or greater
  • Optionally, modd for live reload

How To Use

  • Fork this repository
  • Change the package name in go.mod to reflect your own repository
  • run modd
    • if you chose not to install modd, build the app with go build -o your_program_name
  • modify code to see the results

Environment Variables

  • PORT: the port for the app to listen on. Defaults to 8080
  • STATIC_BASE: the base URL for static assets. Defaults to /static

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