_examples: minor

This commit is contained in:
Gerasimos (Makis) Maropoulos 2022-07-19 22:48:04 +03:00
parent 42b729732c
commit 141862db37
No known key found for this signature in database
GPG Key ID: 3595CBE7F3B4082E
12 changed files with 12 additions and 33 deletions

View File

@ -5,9 +5,7 @@ import (
)
// Follow these steps first:
// $ go get -u github.com/go-bindata/go-bindata/...
// # OR: go get -u github.com/go-bindata/go-bindata/v3/go-bindata
// # to save it to your go.mod file
// $ go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
// $ go-bindata -prefix "assets" -fs ./assets/...
// $ go run .
// "physical" files are not used, you can delete the "assets" folder and run the example.

View File

@ -6,9 +6,7 @@ import (
// How to run:
//
// $ go get -u github.com/go-bindata/go-bindata/...
// # OR: go get -u github.com/go-bindata/go-bindata/v3/go-bindata
// # to save it to your go.mod file
// $ go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
// $ go-bindata -prefix "../embedding-files-into-app/assets/" -fs ../embedding-files-into-app/assets/...
// $ go run -mod=mod .
// Time to complete the compression and caching of [2/3] files: 31.9998ms

View File

@ -7,8 +7,7 @@ import (
)
// How to run:
// $ go get -u github.com/go-bindata/go-bindata/...
// # OR go get -u github.com/go-bindata/go-bindata/v3/go-bindata
// $ go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
// $ go-bindata -nomemcopy -fs -prefix "../http2push/assets" ../http2push/assets/...
// $ go run .

View File

@ -7,9 +7,7 @@ import (
)
// How to run:
// $ go get -u github.com/go-bindata/go-bindata/...
// # OR: go get -u github.com/go-bindata/go-bindata/v3/go-bindata
// # to save it to your go.mod file
// $ go install github.com/go-bindata/go-bindata/v3/go-bindata@latesta
// $ go-bindata -nomemcopy -fs -prefix "../http2push/assets" ../http2push/assets/...
// # OR if the ./assets directory was inside this example foder:
// # go-bindata -nomemcopy -refix "assets" ./assets/...

View File

@ -2,9 +2,7 @@ package main
import "github.com/kataras/iris/v12"
// $ go get -u github.com/go-bindata/go-bindata/...
// # OR: go get -u github.com/go-bindata/go-bindata/v3/go-bindata
// # to save it to your go.mod file
// $ go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
// $ go-bindata -fs -prefix "public" ./public/...
// $ go run .

View File

@ -2,7 +2,7 @@ package main
import "github.com/kataras/iris/v12"
// $ go get -u github.com/go-bindata/go-bindata/...
// $ go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
// $ go-bindata -fs ./data/...
// $ go run .

View File

@ -5,9 +5,7 @@ import "github.com/kataras/iris/v12"
func main() {
app := iris.New()
// $ go get -u github.com/go-bindata/go-bindata/...
// # OR: go get -u github.com/go-bindata/go-bindata/v3/go-bindata
// # to save it to your go.mod file
// $ go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
// $ go-bindata -fs -prefix "templates" ./templates/...
// $ go run .
// html files are not used, you can delete the folder and run the example.

View File

@ -2,9 +2,7 @@ package main
import "github.com/kataras/iris/v12"
// $ go get -u github.com/go-bindata/go-bindata/...
// # OR: go get -u github.com/go-bindata/go-bindata/v3/go-bindata
// # to save it to your go.mod file
// $ go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
//
// $ go-bindata -fs -prefix "../template_amber_0/views" ../template_amber_0/views/...
// $ go run .

View File

@ -2,9 +2,7 @@ package main
import "github.com/kataras/iris/v12"
// $ go get -u github.com/go-bindata/go-bindata/...
// # OR: go get -u github.com/go-bindata/go-bindata/v3/go-bindata
// # to save it to your go.mod file
// $ go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
//
// $ go-bindata -fs -prefix "../template_blocks_0/views" ../template_blocks_0/views/...
// $ go run .

View File

@ -10,9 +10,7 @@ import (
"github.com/kataras/iris/v12"
)
// $ go get -u github.com/go-bindata/go-bindata/...
// # OR: go get -u github.com/go-bindata/go-bindata/v3/go-bindata
// # to save it to your go.mod file
// $ go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
//
// $ go-bindata -fs -prefix "views" ./views/...
// $ go run .

View File

@ -2,9 +2,7 @@ package main
import "github.com/kataras/iris/v12"
// $ go get -u github.com/go-bindata/go-bindata/...
// # OR: go get -u github.com/go-bindata/go-bindata/v3/go-bindata
// # to save it to your go.mod file
// $ go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
//
// $ go-bindata -fs -prefix "templates" ./templates/...
// $ go run .

View File

@ -122,9 +122,7 @@ View engine supports bundled(https://github.com/go-bindata/go-bindata) template
```sh
$ go get -u github.com/go-bindata/go-bindata/...
# OR: go get -u github.com/go-bindata/go-bindata/v3/go-bindata
# to save it to your go.mod file
$ go install github.com/go-bindata/go-bindata/v3/go-bindata@latest
$ go-bindata -fs -prefix "templates" ./templates/...
$ go run .
```