Compare commits

..
Author SHA1 Message Date
phoenix d0ec54eb9f Updating go in workflow 2026-05-03 15:56:43 -04:00
phoenix b615219c5b Updating go version 2026-05-03 15:51:32 -04:00
2 changed files with 2 additions and 26 deletions
+2 -2
View File
@@ -18,14 +18,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.26.2'
go-version: '1.26.1'
- name: Create version
id: version
run: |
echo "Creating version"
VERSION="0.2.1"
VERSION="0.2.0"
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
BRANCH_REF="${{ gitea.ref }}"
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
-24
View File
@@ -1,24 +0,0 @@
package user
type UserProfile struct {
Usr *User `json:"user"`
}
func InitUserProfile(usr *User) (usrProfile *UserProfile, done bool) {
if usr == nil {
return nil, false
} else {
if len(usr.Password) > 0 {
var newUsr User
newUsr := *usr
newUsr.Password = ""
usrProfile.Usr = &newUsr
return usrProfile, true
} else {
usrProfile.Usr = usr
return usrProfile, true
}
}
}