Browse Source

Added a line comment

pull/7/head
Noah Pederson 2 years ago
parent
commit
140ec95252
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      services.go

+ 2
- 0
services.go View File

@ -5,6 +5,7 @@ import (
"time"
)
//User defines the user entity and it's fields
type User struct {
ID uint64 `json:"id"`
Name string `json:"name"` //Real name of user
@ -94,6 +95,7 @@ type MediaGroup struct {
Locked bool `json:"-" sql:",default:false"`
}
//Tag defiles a tag name/value pair
type Tag struct {
Name string `json:"tag_name" sql:"unique, notnull"`
Value string `json:"tag_value" sql:"uniqu,notnull"`


Loading…
Cancel
Save