Skip to content

Builtindb#2

Open
gcla wants to merge 6 commits into
cmatsuoka:masterfrom
gcla:builtindb
Open

Builtindb#2
gcla wants to merge 6 commits into
cmatsuoka:masterfrom
gcla:builtindb

Conversation

@gcla

@gcla gcla commented Apr 30, 2018

Copy link
Copy Markdown

Hi again :-) This builds on the previous pull request, and provides support for compiling the OUI DB directly into the binary, via go-bindata. Then you can use the OUI DB mapping without loading the mapping from the filesystem.

Best wishes,
Graham

gcla added 6 commits April 29, 2018 23:42
This allows users to build binaries with the database embedded within,
so not requiring it be loaded from the filesystem separately. Note
that if the database changes, the following command should be run

$ go generate

This will rebuild assets.go, which contains the OUI db. The go-bindata
package is required for this:

$ go get -u github.com/jteeuwen/go-bindata/...
This is checked-in so that users do not need to re-run go generate to
use the built-in database.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant