Documentation ¶
Index ¶
- func DeepCopy(value interface{}) interface{}
- func DeleteSelf()
- func GetGitBranchHash(url, branch string) (string, error)
- func Getenv(key string, defaultValue string) string
- func IsProcessExist(pid string) bool
- func RandomPort(start, end int, seed int64) int
- func Sha256(data []byte) []byte
- func TimeToPrt(t time.Time) *time.Time
- func Try(fn func()) (t *try)
- type FileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteSelf ¶
func DeleteSelf()
func GetGitBranchHash ¶
func IsProcessExist ¶
Types ¶
type FileInfo ¶
type FileInfo struct { Name string `json:"name"` Path string `json:"path"` Sha string `json:"sha"` Size int `json:"size"` Url string `json:"url"` HtmlUrl string `json:"html_url"` GitUrl string `json:"git_url"` DownloadUrl string `json:"download_url"` Type string `json:"type"` Content string `json:"content"` Encoding string `json:"encoding"` Links struct { Self string `json:"self"` Git string `json:"git"` Html string `json:"html"` } `json:"_links"` }
func GetGitHubFileInfo ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.