Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶
func CreateFile(filename string, data []byte, contentType string, user types.M, info *types.RequestInfo) types.M
CreateFile 创建文件,返回文件地址与文件名
func ExpandFilesInObject ¶
func ExpandFilesInObject(object interface{})
ExpandFilesInObject 展开文件对象 展开之后的文件对象如下
{ "__type": "File", "url": "http://example.com/pic.jpg", "name": "pic.jpg", }
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.