util

package
v0.0.0-...-5dce4d2 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package util contains miscellaneous code.

Index

Constants

View Source
const Base = "github.com/cockroachdb/eddie/pkg/"

Base is the path of this package. We need this because we are looking for the use of specific types in user-written code. Perhaps in go1.12, the new BuildInfo api could provide this.

Variables

This section is empty.

Functions

func InPackage

func InPackage(obj types.Object, path string) bool

InPackage checks to see if the given object is declared in a package with the given path or is in a vendored version of the same.

Types

This section is empty.

Jump to

Keyboard shortcuts

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