Documentation ¶
Index ¶
- func AbsolutePath(Datadir string, filename string) string
- func AnyToErrorCode(obj any) common.ErrorCode
- func AnyToInt(obj any) int
- func AnyToString(obj any) string
- func BackPwd() (string, error)
- func CheckResourcePath(path string) bool
- func FormatUrlPrefix(urlPrefix string) (string, *common.WeCrossSDKError)
- func GetToml(fileName string) (*toml.Tree, *common.WeCrossSDKError)
- func GetUriMethod(uri string) string
- func GetUriQuery(uri string) string
- func ReadClassPath(inPath string, classpath string) (rawPath string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsolutePath ¶
func AnyToErrorCode ¶
func AnyToString ¶
func CheckResourcePath ¶
CheckResourcePath checks whether a resource is formatted
func FormatUrlPrefix ¶
func FormatUrlPrefix(urlPrefix string) (string, *common.WeCrossSDKError)
func GetToml ¶
func GetToml(fileName string) (*toml.Tree, *common.WeCrossSDKError)
func GetUriMethod ¶
func GetUriQuery ¶
func ReadClassPath ¶
ReadClassPath will infer whther the inPath starts with a
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.