Update package paths and README

This commit is contained in:
Noah 2018-10-05 08:30:57 -07:00
parent 6025e8de66
commit 7816a8a362
4 changed files with 21 additions and 16 deletions

View File

@ -1,6 +1,12 @@
# Warning
**this repository is not maintained. Questions or suggestions can be posted [here](https://github.com/jteeuwen/discussions/issues).**
> **NOTICE:**
>
> This repository is a fork of <https://github.com/jteeuwen/go-bindata> which
> itself was a fork of an original project that disappeared.
>
> I've cloned a copy for personal use at <https://git.kirsle.net/go/bindata> so
> that I always have a version that won't disappear.
>
> [@kirsle](https://www.kirsle.net/)
## bindata
@ -17,7 +23,7 @@ output being generated.
To install the library and command line program, use the following:
go get -u github.com/jteeuwen/go-bindata/...
go get -u git.kirsle.net/go/bindata/...
### Usage
@ -190,4 +196,3 @@ and must follow the build tags syntax specified by the go tool.
[go-bindata-assetfs](https://github.com/elazarl/go-bindata-assetfs#readme) -
implements `http.FileSystem` interface. Allows you to serve assets with `net/http`.

View File

@ -12,7 +12,7 @@ import (
"regexp"
"strings"
"github.com/jteeuwen/go-bindata"
"git.kirsle.net/go/bindata"
)
func main() {

View File

@ -32,7 +32,7 @@ type asset struct {
// inATestAsset reads file data from disk. It returns an error on failure.
func inATestAsset() (*asset, error) {
path := "/home/ts/code/go/src/github.com/jteeuwen/go-bindata/testdata/in/a/test.asset"
path := "/home/ts/code/go/src/git.kirsle.net/go/bindata/testdata/in/a/test.asset"
name := "in/a/test.asset"
bytes, err := bindataRead(path, name)
if err != nil {
@ -50,7 +50,7 @@ func inATestAsset() (*asset, error) {
// inBTestAsset reads file data from disk. It returns an error on failure.
func inBTestAsset() (*asset, error) {
path := "/home/ts/code/go/src/github.com/jteeuwen/go-bindata/testdata/in/b/test.asset"
path := "/home/ts/code/go/src/git.kirsle.net/go/bindata/testdata/in/b/test.asset"
name := "in/b/test.asset"
bytes, err := bindataRead(path, name)
if err != nil {
@ -68,7 +68,7 @@ func inBTestAsset() (*asset, error) {
// inCTestAsset reads file data from disk. It returns an error on failure.
func inCTestAsset() (*asset, error) {
path := "/home/ts/code/go/src/github.com/jteeuwen/go-bindata/testdata/in/c/test.asset"
path := "/home/ts/code/go/src/git.kirsle.net/go/bindata/testdata/in/c/test.asset"
name := "in/c/test.asset"
bytes, err := bindataRead(path, name)
if err != nil {
@ -86,7 +86,7 @@ func inCTestAsset() (*asset, error) {
// inTestAsset reads file data from disk. It returns an error on failure.
func inTestAsset() (*asset, error) {
path := "/home/ts/code/go/src/github.com/jteeuwen/go-bindata/testdata/in/test.asset"
path := "/home/ts/code/go/src/git.kirsle.net/go/bindata/testdata/in/test.asset"
name := "in/test.asset"
bytes, err := bindataRead(path, name)
if err != nil {

View File

@ -25,7 +25,7 @@ type asset struct {
// in_a_test_asset reads file data from disk. It returns an error on failure.
func in_a_test_asset() (*asset, error) {
path := "/Users/tamird/src/go/src/github.com/jteeuwen/go-bindata/testdata/in/a/test.asset"
path := "/Users/tamird/src/go/src/git.kirsle.net/go/bindata/testdata/in/a/test.asset"
name := "in/a/test.asset"
bytes, err := bindata_read(path, name)
if err != nil {
@ -43,7 +43,7 @@ func in_a_test_asset() (*asset, error) {
// in_b_test_asset reads file data from disk. It returns an error on failure.
func in_b_test_asset() (*asset, error) {
path := "/Users/tamird/src/go/src/github.com/jteeuwen/go-bindata/testdata/in/b/test.asset"
path := "/Users/tamird/src/go/src/git.kirsle.net/go/bindata/testdata/in/b/test.asset"
name := "in/b/test.asset"
bytes, err := bindata_read(path, name)
if err != nil {
@ -61,7 +61,7 @@ func in_b_test_asset() (*asset, error) {
// in_c_test_asset reads file data from disk. It returns an error on failure.
func in_c_test_asset() (*asset, error) {
path := "/Users/tamird/src/go/src/github.com/jteeuwen/go-bindata/testdata/in/c/test.asset"
path := "/Users/tamird/src/go/src/git.kirsle.net/go/bindata/testdata/in/c/test.asset"
name := "in/c/test.asset"
bytes, err := bindata_read(path, name)
if err != nil {
@ -79,7 +79,7 @@ func in_c_test_asset() (*asset, error) {
// in_test_asset reads file data from disk. It returns an error on failure.
func in_test_asset() (*asset, error) {
path := "/Users/tamird/src/go/src/github.com/jteeuwen/go-bindata/testdata/in/test.asset"
path := "/Users/tamird/src/go/src/git.kirsle.net/go/bindata/testdata/in/test.asset"
name := "in/test.asset"
bytes, err := bindata_read(path, name)
if err != nil {