package
Version:
v0.0.0-...-6380347
Opens a new window with list of versions in this module.
Published: Feb 20, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func LoadGob(v interface{}, cacheFilePath string) error
LoadGob 加载二进制文件内容到结构体中
func LoadJson(v interface{}, cacheFilePath string) error
LoadJson 加载json文件内容到结构体中
func StoreGob(v interface{}, cacheFilePath string) error
StoreGob 缓存结构体到指定二进制文件中
func StoreJson(v interface{}, cacheFilePath string) error
StoreJson 缓存结构体到指定json文件中
Source Files
¶
Click to show internal directories.
Click to hide internal directories.