From: Hraban Luyat Date: Wed, 11 Jan 2017 00:09:38 +0000 (+0000) Subject: README: v2 import syntax X-Git-Tag: v2.0.0~33^2~1 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=86c82bca97b17fea011542d29c2a336ebdb84430;p=go-opus.git README: v2 import syntax --- diff --git a/README.md b/README.md index b383a9b..ac1c133 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ [![travis-ci status](https://api.travis-ci.org/travis-ci/travis-web.svg?branch=master "tarvis-ci build status")](https://travis-ci.org/hraban/opus) +*WARNING: This version is not yet released! No backwards compatibility is +guaranteed in the API until this notice is removed from the README.* + ## Go wrapper for Opus This package provides Go bindings for the xiph.org C libraries libopus and @@ -17,6 +20,12 @@ xiph.org opus libs: * decoders * stream handlers +### Import + +```go +import "gopkg.in/hraban/opus.v2" +``` + ### Encoding To encode raw audio to the Opus format, create an encoder first: