Documentation
¶
Index ¶
- Constants
- func ExtractResponseToString(res *http.Response) string
- func FormatEventDate(t time.Time) string
- func GetCourseCodesFromArgs(rawArgs []string) []string
- func GetExpandedHomeDirectoryPath(path string) string
- func MotivationalAndStarMessage()
- func SGTfromUTC(t time.Time) (*time.Time, error)
- func SetQueryAccessToken(req *http.Request, accessToken string)
- func TimestampToJavaScriptISO(t time.Time) string
- type GithubReleaseInfo
Constants ¶
View Source
const (
OUTPUT_FORMAT = "2006-01-02T15:04:05.000Z"
)
Variables ¶
This section is empty.
Functions ¶
func ExtractResponseToString ¶
func FormatEventDate ¶ added in v1.11.0
func GetCourseCodesFromArgs ¶
func GetExpandedHomeDirectoryPath ¶ added in v1.1.3
func MotivationalAndStarMessage ¶ added in v1.14.0
func MotivationalAndStarMessage()
func SetQueryAccessToken ¶
func TimestampToJavaScriptISO ¶ added in v1.7.0
Types ¶
type GithubReleaseInfo ¶ added in v1.17.0
type GithubReleaseInfo struct { TagName string `json:"tag_name"` CommitHash string `json:"target_commitish"` }
func GetCavasSyncLatestVersionHash ¶ added in v1.17.0
func GetCavasSyncLatestVersionHash() (*GithubReleaseInfo, error)
Click to show internal directories.
Click to hide internal directories.