sealer

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

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

Go to latest
Published: May 25, 2017 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PositionHelper

type PositionHelper struct {
	// contains filtered or unexported fields
}

func NewPositionHelper

func NewPositionHelper(set *token.FileSet) *PositionHelper

func (*PositionHelper) GetContentByPosition

func (l *PositionHelper) GetContentByPosition(node ast.Node) (string, error)

func (*PositionHelper) GetStringPosition

func (l *PositionHelper) GetStringPosition(pos token.Pos) string

Jump to

Keyboard shortcuts

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