zaganeutils

package
Version: v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ImportPath = "cloud.google.com/go/spanner"

ImportPath is import path of spanner package.

Variables

This section is empty.

Functions

func FromSpanner

func FromSpanner(v ssa.Value) bool

FromSpanner whether v came from spanner pacakge.

func ObjectOf

func ObjectOf(pass *analysis.Pass, name string) types.Object

ObjectOf returns types.Object by given name in spanner package.

func TypeOf

func TypeOf(pass *analysis.Pass, name string) types.Type

TypeOf returns types.Type by given name in spanner package. TypeOf accepts pointer types such as *Client.

func Unimported

func Unimported(pass *analysis.Pass, f *ssa.Function, skipFile map[*ast.File]bool) (ret bool)

Unimported returns whether file which has function f does not import spanner package.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to