lab003

command
v0.0.0-...-f10d331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 3 Imported by: 0

README

指定生成文件的路径

绑定static文件夹中的文件,指定到assets文件夹下生成文件。

注意点

  • 两个go-bindata命令,运行的位置是不一样的。运行go-bindata的路径,也就决定了,生成的go文件里面,资源的路径。
  • 读取打包之后的资源,用的路径就是go文件最顶上自动生成的路径。

运行结果

go-bindata对static1的命令

Imgur

go-bindata对static2的命令

Imgur

运行结果

Imgur

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL