bytes

package
v0.0.0-...-f2e8abd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2020 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package bytes wraps a byte slice for GraphQL un/marshaling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bytes

type Bytes []byte

Bytes is a byte slice of variable length.

func (Bytes) MarshalGQL

func (b Bytes) MarshalGQL(w io.Writer)

MarshalGQL marshals a byte slice to a GraphQL string.

func (*Bytes) UnmarshalGQL

func (b *Bytes) UnmarshalGQL(v interface{}) error

UnmarshalGQL unmarshals a GraphQL string into a byte slice.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL