MCPcopy Create free account
hub / github.com/corestoreio/pkg / ColumnsToStructCode

Function ColumnsToStructCode

_codegen/database.go:297–313  ·  view source on GitHub ↗

ColumnsToStructCode generates Go code from a name and a slice of columns. Make sure that the fields GoType and GoName has been setup If you don't like the template you can provide your own template as 3rd to n-th argument.

(tplData map[string]interface{}, name string, cols Columns, templates ...string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

JoinMethod · 0.45

Tested by 1