MCPcopy Create free account
hub / github.com/OpenPrinting/goipp / Add

Method Add

attr.go:20–22  ·  view source on GitHub ↗

Add Attribute to Attributes

(attr Attribute)

Source from the content-addressed store, hash-verified

18
19// Add Attribute to Attributes
20func (attrs *Attributes) Add(attr Attribute) {
21 *attrs = append(*attrs, attr)
22}
23
24// Clone creates a shallow copy of Attributes.
25// For nil input it returns nil output.

Callers 5

decodeMethod · 0.95
MakeAttributeFunction · 0.45
MakeAttrFunction · 0.45
unpackMethod · 0.45

Calls

no outgoing calls

Tested by 1