analysis

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StructTag = "cvt"

Functions

This section is empty.

Types

type FuncMaker

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

FuncMaker generate function

func InitFuncMaker

func InitFuncMaker(pkg *types.Package) *FuncMaker

func (*FuncMaker) MakeFunc

func (fm *FuncMaker) MakeFunc(dstType, srcType Type, export bool)

MakeFunc make function TODO fix only named type

func (*FuncMaker) Pkg

func (fm *FuncMaker) Pkg() *types.Package

func (*FuncMaker) WriteBytes

func (fm *FuncMaker) WriteBytes() (out []byte)

WriteBytes 全ての関数を書き出す。

type OptionTag

type OptionTag int
const (
	Ignore OptionTag = iota + 1
	ReadOnly
	WriteOnly
)

type Type

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

func InitType

func InitType(typ types.Type, name string) Type

type TypeBasic

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

type TypeNamed

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

type TypePointer

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

type TypeSlice

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

type TypeStruct

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

Jump to

Keyboard shortcuts

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