Site for hosing code snippets. (old & deprecated)

Clone this repo:

Branches

  1. 5a8b2c8 update generated project files by Jess Frazelle · 3 months ago master
  2. b1f7054 update deps by Jess Frazelle · 4 months ago
  3. b2cdad1 fix travis by Jess Frazelle · 4 months ago
  4. d4aa5c3 Bump version to v0.2.0 by Jess Frazelle · 6 months ago v0.2.0
  5. ac523ad update vendor by Jess Frazelle · 6 months ago

snippetlib

Travis CI

Server to host code snippets.

Installation

Binaries

Via Go

$ go get github.com/jessfraz/snippetlib

Usage

$ snippetlib --help
           _                  _   _ _ _
 ___ _ __ (_)_ __  _ __   ___| |_| (_) |__
/ __| '_ \| | '_ \| '_ \ / _ \ __| | | '_ \
\__ \ | | | | |_) | |_) |  __/ |_| | | |_) |
|___/_| |_|_| .__/| .__/ \___|\__|_|_|_.__/
            |_|   |_|

 Server to host code snippets.
 Version: v0.2.0
 Build: f5f7038

  -cert string
        path to ssl certificate
  -d    run in debug mode
  -dbconn string
        database connection string (default "postgres://postgres:@127.0.0.1:5432/db?sslmode=disable")
  -key string
        path to ssl key
  -mailchimp-apikey string
        Mailchimp APIKey for subscribing to newsletters
  -mailchimp-listid string
        Mailchimp List ID for newsletter to subscribe emails to
  -p string
        port for server to run on (default "3000")
  -v    print version and exit (shorthand)
  -version
        print version and exit