keys

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0, NCSA Imports: 3 Imported by: 4

Documentation

Overview

Package keys implements orderedcode encodings for Kythe types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(key []byte, items ...interface{}) ([]byte, error)

Append appends the encoded representations of items to the key buffer.

In addition to the types supported by the orderedcode library, the following Kythe types can be handled:

  • *spb.VName
  • int32/int
  • bool

More detail at: https://godoc.org/github.com/google/orderedcode#Append

func Parse

func Parse(key string, items ...interface{}) (remaining string, err error)

Parse parses the next len(items) from the encoded key.

In addition to the types supported by the orderedcode library, the following Kythe types can be handled:

  • *spb.VName
  • int32/int
  • bool

More detail at: https://godoc.org/github.com/google/orderedcode#Parse

Types

This section is empty.

Jump to

Keyboard shortcuts

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