- 生成されたパッケージは _ でインポートしておく
- statik/fs.New は http.FileSystem を返す
- statikFS.Open(path) で http.File 型のオブジェクトを取得できる
- 取得したファイルは close する必要がない(closeの中で何もしていない)
Created
April 12, 2019 00:06
-
-
Save eihigh/11852429423ae33c812e1a6abe96ad25 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment