Skip to content

Instantly share code, notes, and snippets.

@vadzappa
Created April 9, 2020 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vadzappa/89b11c2a05c312c93c5efe505b75fc32 to your computer and use it in GitHub Desktop.
Save vadzappa/89b11c2a05c312c93c5efe505b75fc32 to your computer and use it in GitHub Desktop.
package main
import (
"blodpost/controller"
"blodpost/protocol"
)
func main() {
_ = controller.Process(&protocol.Company{
Id: 11,
Owner: &protocol.User{
Id: 1,
Name: "Batman",
Email: "batman@cave.com",
Title: &protocol.Title{
Id: 100001,
Name: "CLSO - Chief Life Savior Officer",
},
},
CoOwner: &protocol.User{
Id: 2,
Name: "Catwoman",
Email: "catwoman@box.com",
Title: &protocol.Title{
Id: 100002,
Name: "CCO - Chef Cuddling Officer",
},
},
Size: 3,
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment