Full demo
This commit is contained in:
9
app/types/catfacts.go
Normal file
9
app/types/catfacts.go
Normal file
@ -0,0 +1,9 @@
|
||||
package types
|
||||
|
||||
type CatFact struct {
|
||||
Breed string
|
||||
Country string
|
||||
Origin string
|
||||
Coat string
|
||||
Pattern string
|
||||
}
|
||||
6
app/types/user.go
Normal file
6
app/types/user.go
Normal file
@ -0,0 +1,6 @@
|
||||
package types
|
||||
|
||||
type User struct {
|
||||
FirstName string
|
||||
LastName string
|
||||
}
|
||||
Reference in New Issue
Block a user