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

Function NewReformModel

bench/models.go:218–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216}
217
218func NewReformModel() *r.ReformModels {
219 m := new(r.ReformModels)
220 m.Name = "Orm Benchmark"
221 m.Title = "Just a Benchmark for fun"
222 m.Fax = "99909990"
223 m.Web = "http://blog.milkpod29.me"
224 m.Age = 100
225 m.Right = true
226 m.Counter = 1000
227
228 return m
229}

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