mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 20:07:04 +00:00
examples: update go.mod (see previous commit)
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
)
|
||||
|
||||
// Follow these steps first:
|
||||
// $ go get -u github.com/go-bindata/go-bindata
|
||||
// $ 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-bindata -prefix "assets" -fs ./assets/...
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
// How to run:
|
||||
//
|
||||
// $ go get -u github.com/go-bindata/go-bindata
|
||||
// $ 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-bindata -prefix "../embedding-files-into-app/assets/" -fs ../embedding-files-into-app/assets/...
|
||||
|
||||
@@ -7,7 +7,8 @@ import (
|
||||
)
|
||||
|
||||
// How to run:
|
||||
// $ go get -u github.com/go-bindata/go-bindata/v3/go-bindata
|
||||
// $ go get -u github.com/go-bindata/go-bindata/...
|
||||
// # OR go get -u github.com/go-bindata/go-bindata/v3/go-bindata
|
||||
// $ go-bindata -nomemcopy -fs -prefix "../http2push/assets" ../http2push/assets/...
|
||||
// $ go run .
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
// How to run:
|
||||
// $ go get -u github.com/go-bindata/go-bindata
|
||||
// $ 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-bindata -nomemcopy -fs -prefix "../http2push/assets" ../http2push/assets/...
|
||||
|
||||
@@ -2,7 +2,7 @@ package main
|
||||
|
||||
import "github.com/kataras/iris/v12"
|
||||
|
||||
// $ go get -u github.com/go-bindata/go-bindata
|
||||
// $ 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-bindata -fs -prefix "public" ./public/...
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"github.com/kataras/iris/v12"
|
||||
)
|
||||
|
||||
// $ go get -u github.com/go-bindata/go-bindata
|
||||
// $ 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-bindata -fs -prefix "public" ./public/...
|
||||
|
||||
Reference in New Issue
Block a user