Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource interface {
Path() string
SimpleName() string
Size() int64
ReadBinary() ([]byte, error)
ReadText() (string, error)
Open() (io.ReadCloser, error)
}
Resource 表示一个资源
type Table ¶
type Table interface {
Paths() []string
GetResource(path string) (Resource, error)
Export(dst map[string]Resource) map[string]Resource
Import(src map[string]Resource)
ReadBinary(path string) ([]byte, error)
ReadText(path string) (string, error)
Open(path string) (io.ReadCloser, error)
}
Table 表示一个资源的集合
Click to show internal directories.
Click to hide internal directories.