format code

This commit is contained in:
MaysWind
2021-02-06 14:54:19 +08:00
parent 5bcf85b812
commit 1a97414e47
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ func (a *UsersApi) UserUpdateProfileHandler(c *core.Context) (interface{}, *errs
userNew.FirstDayOfWeek = *userUpdateReq.FirstDayOfWeek userNew.FirstDayOfWeek = *userUpdateReq.FirstDayOfWeek
anythingUpdate = true anythingUpdate = true
} else { } else {
userNew.FirstDayOfWeek = models.WEEKDAY_INVALID; userNew.FirstDayOfWeek = models.WEEKDAY_INVALID
} }
if !anythingUpdate { if !anythingUpdate {
+1
View File
@@ -18,6 +18,7 @@ var (
BuildUnixTime string BuildUnixTime string
) )
// GetFullVersion returns the full version
func GetFullVersion() string { func GetFullVersion() string {
fullVersion := "Local Build" fullVersion := "Local Build"