Documentation ¶
Overview ¶
パッケージ imgmap はユーザ画像の管理を行うパッケージ。 新しいイメージマップを生成し、画像の保存、画像の取得を行うサンプル。
m := imgmap.New() m.Set(1, userimagebytes) imgbytes, err := m.Get(1)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Asset ¶
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
func AssetDir ¶
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:
data/ foo.txt img/ a.png b.png
then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error
Types ¶
Click to show internal directories.
Click to hide internal directories.