Organization (#3)
Reviewed-on: http://git.kundeng.us/phoenix/textsender-models/pulls/3
This commit was merged in pull request #3.
This commit is contained in:
1 parent
3ccc1a9a6d
commit
f39d48d85a
2 files changed
+14
-1
No files matched your search
@@ -25,7 +25,7 @@ jobs:
|
||||
run: |
|
||||
echo "Creating version"
|
||||
|
||||
VERSION="0.2.3"
|
||||
VERSION="0.2.4"
|
||||
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
|
||||
BRANCH_REF="${{ gitea.ref }}"
|
||||
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package user
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type Organization struct {
|
||||
Id uuid.UUID `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Created *time.Time `json:"created,omitempty"`
|
||||
}
|
||||
Reference in new issue
Block a user