MCPcopy Create free account
hub / github.com/dbProjectRED/redimo.go / BytesValue

Struct BytesValue

values.go:61–63  ·  view source on GitHub ↗

BytesValue is a convenience wrapper for a byte slice, usable as BytesValue{[]byte{1,2,3}}

Source from the content-addressed store, hash-verified

59// BytesValue is a convenience wrapper for a byte slice, usable as
60// BytesValue{[]byte{1,2,3}}
61type BytesValue struct {
62 B []byte
63}
64
65func (bv BytesValue) ToAV() dynamodb.AttributeValue {
66 return dynamodb.AttributeValue{B: bv.B}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected