gol

command module
v0.0.0-...-e4c6d64 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2015 License: GPL-3.0 Imports: 28 Imported by: 0

README

gol - A Simple Golang Powered Logbook

Pronounced "goal" (/ɡoʊl/).

Build

To get started, download the latest release, unpack it somewhere and run the main binary in there.

$ source .env
$ make
$ ./main
Listening on http://0.0.0.0:5000

If you want to use ssl, you can generate a certificate and then start the server using the -ssl flag, passing the certificate and the private key to it:

$ ./main --ssl server.crt,server.key
Listening on https://0.0.0.0:5000

Install

make install
As Docker Container
  • build the container docker build -t gol .
  • run the container docker run -p 5000:5000 gol

Dependencies

gol uses the following libraries (which are awesome):

  • blackfriday for rendering markdown
  • bluemonday to sanitize html
  • mux for routing (supports url parameters)
  • pflag for posix-style command-line flags

Thanks for writing those libraries!

Development

If vim freezes for some seconds when you save a .go file, run this:

let g:syntastic_go_checkers = ['golint', 'govet', 'errcheck']

License

gol is licensed under the GNU GPL.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
nop
gol
a storage whose backend is another instance of gol
a storage whose backend is another instance of gol
multi
a store that writes to multiple backing stores
a store that writes to multiple backing stores
query
not a storage, but the query interface
not a storage, but the query interface
util
testing
some utilities to make tests easier
some utilities to make tests easier

Jump to

Keyboard shortcuts

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