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

Function NewModel5

bench/models.go:157–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155}
156
157func NewModel5() *Model5 {
158 m := new(Model5)
159 m.Name = "Orm Benchmark"
160 m.Title = "Just a Benchmark for fun"
161 m.Fax = "99909990"
162 m.Web = "http://blog.milkpod29.me"
163 m.Age = 100
164 m.Right = true
165 m.Counter = 1000
166
167 return m
168}
169
170// Model for Sqlboiler
171func NewModel6() *models.Model {

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected