Versions in this module Expand all Collapse all v0 v0.1.2 Apr 28, 2023 v0.1.1 Apr 28, 2023 v0.1.0 Apr 19, 2022 Changes in this version + func GetCfgPath() string + func NewDB(dbFilePath string) *gorm.DB + func NewLogger(logFile string) *logrus.Logger + type File struct + CreateAt string + ID int + Md5 string + Name string + Path string + Size string + func (f *File) TableName() string + type Git struct + AccessToken string + Email string + Owner string + Repo string + func (t *Git) Delete(path string) error + func (t *Git) Get(path string) (string, error) + func (t *Git) GetContent(path string) string + func (t *Git) GetFileUrl(path string) string + func (t *Git) GetLastVersion() string + func (t *Git) Update(path string, content string) error + type Response struct + Code int + Data interface{} + Msg string + func Fail(message string) *Response + func Success(data interface{}) *Response v0.0.5 Oct 30, 2020 v0.0.4 Oct 9, 2020