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

Method C

util/codegen/common.go:62–77  ·  view source on GitHub ↗

Writes a multiline comment and formats it to a max width of 80 chars. It adds automatically the comment prefix `//`. It converts all types to string, if it can't it panics. If the first argument is a boolean and true, the subsequent data gets printed, otherwise not.

(comments ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

generateProtoMethod · 0.80
fnCollectionStructMethod · 0.80
fnEntityStructMethod · 0.80
fnEntityEmptyMethod · 0.80
fnEntityIsSetMethod · 0.80
fnEntityCopyMethod · 0.80
fnEntityWriteToMethod · 0.80
fnCollectionWriteToMethod · 0.80
fnEntityDBMapColumnsMethod · 0.80

Calls 1

commentFunction · 0.85

Tested by 2

TestNewGoFunction · 0.64
TestNewProtoFunction · 0.64