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

Function NewModel6

bench/models.go:171–182  ·  view source on GitHub ↗

Model for Sqlboiler

()

Source from the content-addressed store, hash-verified

169
170// Model for Sqlboiler
171func NewModel6() *models.Model {
172 m := new(models.Model)
173 m.Name = "Orm Benchmark"
174 m.Title = "Just a Benchmark for fun"
175 m.Fax = "99909990"
176 m.Web = "http://blog.milkpod29.me"
177 m.Age = 100
178 m.Right = true
179 m.Counter = 1000
180
181 return m
182}
183
184// Model for zorm
185type Model7 struct {

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected