types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AInterface

type AInterface interface {
	Method()
}

type AStruct

type AStruct struct {
	Value int
}

func (*AStruct) Method

func (a *AStruct) Method()

type BStruct

type BStruct struct {
	AStruct *AStruct
}

type CStruct

type CStruct struct {
	*AStruct `componego:"inject"`
	Value    int

	PublicField1  *AStruct `componego:"inject,otherValue"`
	PublicField2  *BStruct
	IncorrectTag1 *AStruct `componego:"INJECT"`
	IncorrectTag2 *AStruct `COMPONEGO:"inject"`
	// contains filtered or unexported fields
}

func (*CStruct) GetPrivateField

func (c *CStruct) GetPrivateField() AInterface

type CustomString

type CustomString string

type DStruct

type DStruct struct {
	PublicField2 AInterface `componego:"inject"`
	PublicField1 *CStruct   `componego:"inject"`
}

Jump to

Keyboard shortcuts

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