example

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package example is generated by gogetter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias = int32

type BasicType

type BasicType struct {
	Bool   bool
	String string
	Byte   byte
	Rune   rune

	Int   int
	Int8  int8
	Int16 int16
	Int32 int32
	Int64 int64

	Uint    uint
	Uint8   uint8
	Uint16  uint16
	Uint32  uint32
	Uint64  uint64
	Uintptr uintptr

	Float32 float32
	Float64 float64

	Complex64  complex64
	Complex128 complex128
}

func (*BasicType) GetBool

func (x *BasicType) GetBool() (o bool)

func (*BasicType) GetByte

func (x *BasicType) GetByte() (o byte)

func (*BasicType) GetComplex128

func (x *BasicType) GetComplex128() (o complex128)

func (*BasicType) GetComplex64

func (x *BasicType) GetComplex64() (o complex64)

func (*BasicType) GetFloat32

func (x *BasicType) GetFloat32() (o float32)

func (*BasicType) GetFloat64

func (x *BasicType) GetFloat64() (o float64)

func (*BasicType) GetInt

func (x *BasicType) GetInt() (o int)

func (*BasicType) GetInt16

func (x *BasicType) GetInt16() (o int16)

func (*BasicType) GetInt32

func (x *BasicType) GetInt32() (o int32)

func (*BasicType) GetInt64

func (x *BasicType) GetInt64() (o int64)

func (*BasicType) GetInt8

func (x *BasicType) GetInt8() (o int8)

func (*BasicType) GetRune

func (x *BasicType) GetRune() (o rune)

func (*BasicType) GetString

func (x *BasicType) GetString() (o string)

func (*BasicType) GetUint

func (x *BasicType) GetUint() (o uint)

func (*BasicType) GetUint16

func (x *BasicType) GetUint16() (o uint16)

func (*BasicType) GetUint32

func (x *BasicType) GetUint32() (o uint32)

func (*BasicType) GetUint64

func (x *BasicType) GetUint64() (o uint64)

func (*BasicType) GetUint8

func (x *BasicType) GetUint8() (o uint8)

func (*BasicType) GetUintptr

func (x *BasicType) GetUintptr() (o uintptr)

type Complex

type Complex struct {
	Struct  BasicType
	Pointer *BasicType

	StdLibStruct  os.File
	StdLibPointer *os.File

	ForeignStruct  imports.Options
	ForeignPointer *imports.Options

	Map   map[BasicType]string
	Slice []*BasicType

	Alias      Alias
	Underlying Underlying
}

func (*Complex) GetAlias

func (x *Complex) GetAlias() (o Alias)

func (*Complex) GetForeignPointer

func (x *Complex) GetForeignPointer() (o *imports.Options)

func (*Complex) GetForeignStruct

func (x *Complex) GetForeignStruct() (o imports.Options)

func (*Complex) GetMap

func (x *Complex) GetMap() (o map[BasicType]string)

func (*Complex) GetPointer

func (x *Complex) GetPointer() (o *BasicType)

func (*Complex) GetSlice

func (x *Complex) GetSlice() (o []*BasicType)

func (*Complex) GetStdLibPointer

func (x *Complex) GetStdLibPointer() (o *os.File)

func (*Complex) GetStdLibStruct

func (x *Complex) GetStdLibStruct() (o os.File)

func (*Complex) GetStruct

func (x *Complex) GetStruct() (o BasicType)

func (*Complex) GetUnderlying

func (x *Complex) GetUnderlying() (o Underlying)

type Underlying

type Underlying int32

Jump to

Keyboard shortcuts

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