simple

command
v0.0.0-...-eaceabd Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

README

simple

  • example using a gizmo/server.SimpleService with a gizmo/server.SimpleServer.
  • one endpoint will serve JSON of the most popular NYT articles and another will serve an HTML page listing recent articles in The New York Times about 'cats'.

The config in this example is loaded via environment variables and a custom config struct that is composed of a gizmo/config.Server struct. To load the config, source the local .env file before running.

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