keys

package
v0.0.67 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0, NCSA Imports: 3 Imported by: 0

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 ...any) ([]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 ...any) (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