Documentation ¶
Index ¶
Constants ¶
View Source
const ( ModePerm0644 = 0644 // 文件保存perm ModePerm0755 = 0755 // 目录保存perm 一个用户需要进入一个目录查看文件,最少需要读和执行的权限。 )
-代表无权限,r代表读权限,w代表写权限,x代表执行权限 数字权限使用格式 r=4, w=2, x=1, -=0 0755 拥有者有读、写、执行权限;而属组用户和其他用户只有读、执行权限。
Variables ¶
This section is empty.
Functions ¶
func DevMode ¶
func DevMode() bool
DevMode indicates whether the project is running in development mode.
func ExecAppDir ¶
func ExecAppDir() string
ExecAppDir gets compiled executable file directory: C:\option\_test
func ExecAppPath ¶
func ExecAppPath() string
ExecAppPath gets compiled executable file absolute path: C:\option\_test\option.test.exe
func FilenameWithoutExt ¶
FilenameWithoutExt 没有后缀的文件名称
func PrefixInList ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.