You've already forked golang-base-project
* Documents all env variables and adds an example project * Adds godoc comments * Fixed package naming issue
12 lines
189 B
Go
12 lines
189 B
Go
package models
|
|
|
|
import "gorm.io/gorm"
|
|
|
|
// Website holds information about different websites
|
|
type Website struct {
|
|
gorm.Model
|
|
Title string
|
|
Description string
|
|
URL string
|
|
}
|