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

Function NewModel4

bench/models.go:132–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

130}
131
132func NewModel4() *Model4 {
133 m := new(Model4)
134 m.Name = "Orm Benchmark"
135 m.Title = "Just a Benchmark for fun"
136 m.Fax = "99909990"
137 m.Web = "http://blog.milkpod29.me"
138 m.Age = 100
139 m.Right = true
140 m.Counter = 1000
141
142 return m
143}
144
145// Model for XORM
146type Model5 struct {

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