cockroach: github.com/cockroachdb/cockroach/pkg/util/interval/generic/internal Index | Files

package internal

import "github.com/cockroachdb/cockroach/pkg/util/interval/generic/internal"

Index

Package Files

contract.go

type T Uses

type T interface {
    ID() uint64
    Key() []byte
    EndKey() []byte
    String() string
    // Used for testing only.
    New() T
    SetID(uint64)
    SetKey([]byte)
    SetEndKey([]byte)
}

T is a Template type. The methods in the interface make up its contract. lint:ignore U1001 unused

Updated 2020-08-12. Refresh now. Tools for package owners.