https://github.com/kujenga/gosnow
Go bindings for the Drafter and Snow Crash libraries
https://github.com/kujenga/gosnow
Last synced: 2 months ago
JSON representation
Go bindings for the Drafter and Snow Crash libraries
- Host: GitHub
- URL: https://github.com/kujenga/gosnow
- Owner: kujenga
- License: mit
- Created: 2015-06-20T13:24:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-20T23:08:06.000Z (almost 10 years ago)
- Last Synced: 2025-01-24T12:45:38.986Z (4 months ago)
- Language: Go
- Homepage: https://godoc.org/github.com/kujenga/gosnow
- Size: 172 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gosnow [](https://godoc.org/github.com/kujenga/gosnow) [](https://travis-ci.org/kujenga/gosnow) [](https://coveralls.io/r/kujenga/gosnow)
A Go library for handling the [API Blueprint](https://apiblueprint.org) format, wrapping [Drafter](https://github.com/apiaryio/drafter) and [Snow Crash](https://github.com/apiaryio/snowcrash).
Based on [RedSnow](https://github.com/apiaryio/redsnow), the Ruby binding for [Snow Crash](https://github.com/apiaryio/snowcrash).
## 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
```