MCPcopy Create free account
hub / github.com/efectn/go-orm-benchmarks / NewModel2

Function NewModel2

bench/models.go:74–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74func NewModel2() *Model2 {
75 m := new(Model2)
76 m.Name = "Orm Benchmark"
77 m.Title = "Just a Benchmark for fun"
78 m.Fax = "99909990"
79 m.Web = "http://blog.milkpod29.me"
80 m.Age = 100
81 m.Right = true
82 m.Counter = 1000
83
84 return m
85}
86
87// Model for Pop, Rel
88type Model3 struct {

Callers 9

InsertMethod · 0.85
InsertMultiMethod · 0.85
UpdateMethod · 0.85
ReadMethod · 0.85
ReadSliceMethod · 0.85
InsertMethod · 0.85
UpdateMethod · 0.85
ReadMethod · 0.85
ReadSliceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected