Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Struct2Map ¶
func Struct2Map(s interface{}) map[string]interface{}
func Struct2MapTag ¶
Types ¶
type FileOrContent ¶
type FileOrContent string
func (FileOrContent) IsPath ¶
func (f FileOrContent) IsPath() bool
IsPath returns true if the FileOrContent is a file path, otherwise returns false.
func (FileOrContent) Read ¶
func (f FileOrContent) Read() ([]byte, error)
func (FileOrContent) String ¶
func (f FileOrContent) String() string
Click to show internal directories.
Click to hide internal directories.