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

Method Values

bench/reform/reform_models_reform.go:93–104  ·  view source on GitHub ↗

Values returns a slice of struct or record field values. Returned interface{} values are never untyped nils.

()

Source from the content-addressed store, hash-verified

91// Values returns a slice of struct or record field values.
92// Returned interface{} values are never untyped nils.
93func (s *ReformModels) Values() []interface{} {
94 return []interface{}{
95 s.ID,
96 s.Name,
97 s.Title,
98 s.Fax,
99 s.Web,
100 s.Age,
101 s.Right,
102 s.Counter,
103 }
104}
105
106// Pointers returns a slice of pointers to struct or record fields.
107// Returned interface{} values are never untyped nils.

Callers 2

InsertMultiMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected