parser

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 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 Field

type Field struct {
	Name string
	Type field_type.FieldTyper
	Tags map[string]string
}

type Import

type Import struct {
	Path  string
	Alias string
}

func (Import) GetUsedPackageName

func (i Import) GetUsedPackageName() string

GetUsedPackageName return alias if present. If not return alias as package name in import.

type Package

type Package struct {
	Imports []Import
	Structs []Struct
}

type Struct

type Struct struct {
	Name   string
	Fields []Field
}

Struct ...

type Structs

type Structs []Struct

func (Structs) GetUsedImports

func (s Structs) GetUsedImports() []Import

type TypeAlias

type TypeAlias struct {
	Name string
	To   string
}

TypeAlias ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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