Go binding for the Drafter and Snow Crash libraries
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
drafter @ bc1e5cc
test
.gitignore
.gitmodules
.travis.yml
LICENSE
Makefile
README.md
blueprint.go
parser.go
parser_test.go
sourcemap.go

README.md

Gosnow GoDoc Build Status Coverage Status

A Go library for handling the API Blueprint format, wrapping Drafter and Snow Crash.

Based on RedSnow, the Ruby binding for Snow Crash.

Setup

Setup the inner drafter directory with: git submodule update --init --recursive

Install the drafter dylib with make install

Run the pure C tests with make test

Issues

linking to the libdrafter.dylib is currently done by linking the library to the global scope in /usr/local/lib/. It would be much preferred to have the dylib found locally.

This is the runtime error that occurs when the global library is not present

dyld: Library not loaded: /usr/local/lib/libdrafter.dylib
  Referenced from: /Users/uname/dev/gosnow/./test
  Reason: image not found