diff --git a/README.md b/README.md index 1fb4e6d..4a30d18 100644 --- a/README.md +++ b/README.md @@ -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 which +> itself was a fork of an original project that disappeared. +> +> I've cloned a copy for personal use at 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 @@ -46,7 +52,7 @@ Multiple input directories can be specified if necessary. $ go-bindata dir1/... /path/to/dir2/... dir3 -The following paragraphs detail some of the command line options which can be +The following paragraphs detail some of the command line options which can be supplied to `go-bindata`. Refer to the `testdata/out` directory for various output examples from the assets in `testdata/in`. Each example uses different command line options. @@ -188,6 +194,5 @@ and must follow the build tags syntax specified by the go tool. ### Related projects -[go-bindata-assetfs](https://github.com/elazarl/go-bindata-assetfs#readme) - +[go-bindata-assetfs](https://github.com/elazarl/go-bindata-assetfs#readme) - implements `http.FileSystem` interface. Allows you to serve assets with `net/http`. - diff --git a/go-bindata/main.go b/go-bindata/main.go index 503a059..15bba23 100644 --- a/go-bindata/main.go +++ b/go-bindata/main.go @@ -12,7 +12,7 @@ import ( "regexp" "strings" - "github.com/jteeuwen/go-bindata" + "git.kirsle.net/go/bindata" ) func main() { diff --git a/testdata/out/debug.go b/testdata/out/debug.go index 62ac6bf..8a7fda8 100644 --- a/testdata/out/debug.go +++ b/testdata/out/debug.go @@ -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 { diff --git a/testdata/out/debug.go-bindata b/testdata/out/debug.go-bindata index e3a2ef2..e0966ec 100644 --- a/testdata/out/debug.go-bindata +++ b/testdata/out/debug.go-bindata @@ -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 {