mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 19:00:00 +08:00
24 lines
353 B
Go
24 lines
353 B
Go
//go:build ignore
|
|
// +build ignore
|
|
|
|
package main
|
|
|
|
import (
|
|
"log"
|
|
"net/http"
|
|
|
|
"github.com/shurcooL/vfsgen"
|
|
)
|
|
|
|
func main() {
|
|
var AssetDir http.FileSystem = http.Dir("./tzdata")
|
|
err := vfsgen.Generate(AssetDir, vfsgen.Options{
|
|
PackageName: "sharefile",
|
|
BuildTags: "!dev",
|
|
VariableName: "tzdata",
|
|
})
|
|
if err != nil {
|
|
log.Fatalln(err)
|
|
}
|
|
}
|