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

Function NewModel7

bench/models.go:205–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203}
204
205func NewModel7() *Model7 {
206 m := new(Model7)
207 m.Name = "Orm Benchmark"
208 m.Title = "Just a Benchmark for fun"
209 m.Fax = "99909990"
210 m.Web = "http://blog.milkpod29.me"
211 m.Age = 100
212 m.Right = true
213 m.Counter = 1000
214
215 return m
216}
217
218func NewReformModel() *r.ReformModels {
219 m := new(r.ReformModels)

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