Skip to content

Instantly share code, notes, and snippets.

@CodebyOmar
Created February 11, 2019 21:08
Show Gist options
  • Save CodebyOmar/525719f73d84c5e2a316b672605e28c7 to your computer and use it in GitHub Desktop.
Save CodebyOmar/525719f73d84c5e2a316b672605e28c7 to your computer and use it in GitHub Desktop.
package rooms
// Room is a model representation of our room table
type Room struct {
ID float64
Name string
RoomType string
}
// UserRoom is a model representation of our user_rooms table
type UserRoom struct {
ID float64
RoomID float64
UserID float64
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment