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

Method Add

value.go:28–33  ·  view source on GitHub ↗

Add Value to Values

(t Tag, v Value)

Source from the content-addressed store, hash-verified

26
27// Add Value to Values
28func (values *Values) Add(t Tag, v Value) {
29 *values = append(*values, struct {
30 T Tag
31 V Value
32 }{t, v})
33}
34
35// String converts Values to string
36func (values Values) String() string {

Callers 1

TestValuesCopyFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestValuesCopyFunction · 0.76