mirror of
https://github.com/rclone/rclone.git
synced 2024-11-24 01:33:23 +08:00
4627ac5709
Many thanks to Bob Droog for organizing a test account and extensive testing.
23 lines
335 B
Go
23 lines
335 B
Go
// +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)
|
|
}
|
|
}
|