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

Function NewModel3

bench/models.go:107–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105}
106
107func NewModel3() *Model3 {
108 m := new(Model3)
109 m.Name = "Orm Benchmark"
110 m.Title = "Just a Benchmark for fun"
111 m.Fax = "99909990"
112 m.Web = "http://blog.milkpod29.me"
113 m.Age = 100
114 m.Right = true
115 m.Counter = 1000
116
117 return m
118}
119
120// Model for Upper
121type Model4 struct {

Callers 9

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

Calls

no outgoing calls

Tested by

no test coverage detected