gen

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtraAnnotate

func ExtraAnnotate(comments []*ast.Comment) (map[string]*Annotate, error)

func ExtraComment

func ExtraComment(commentGroup *ast.CommentGroup) ([]string, error)

Types

type Annotate

type Annotate struct {
	Name   string
	Values []string
}

func (*Annotate) String

func (a *Annotate) String() string

type TagList

type TagList struct {
	Kv map[string]string
}

func ExplodeTag

func ExplodeTag(lit *ast.BasicLit) (*TagList, error)

func (*TagList) Int

func (self *TagList) Int(k string) (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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