parser

package
v0.0.0-...-abcba61 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PField

type PField struct {
	Name    string
	Type    string
	Tag     string
	IsPtr   bool
	IsSlice bool
	IsEmbed bool
}

type PStruct

type PStruct struct {
	File    string
	Package string
	Name    string
	Fields  []PField
}

func ParseFile

func ParseFile(path string) ([]PStruct, error)

Jump to

Keyboard shortcuts

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