parser

package
v0.0.0-...-fafb9f7 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GoFilesSuffix = ".go"
)

Variables

This section is empty.

Functions

func ReadContent

func ReadContent(path string) (string, error)

Types

type Func

type Func struct {
	Receiver string
	Exported bool
	Name     string
	Start    int
	Length   int
	Lbrace   int
	Rbrace   int
}

type FuncArray

type FuncArray []*Func

func (FuncArray) Len

func (f FuncArray) Len() int

func (FuncArray) Less

func (f FuncArray) Less(i, j int) bool

func (FuncArray) Swap

func (f FuncArray) Swap(i, j int)

Jump to

Keyboard shortcuts

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