mainpkg

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct{}

Factory comment

func (*Factory) NewObject1

func (f *Factory) NewObject1(val string) IObject1

NewObject1 comment

func (*Factory) NewObject2

func (f *Factory) NewObject2(val string) IObject2

NewObject2 comment

type IFactory

type IFactory interface {
	// NewObject1 comment
	NewObject1(string) IObject1
	// NewObject2 comment
	NewObject2(val string) IObject2
}

IFactory .

type IObject1

type IObject1 interface {
	String() string
}

IObject1 comment .

type IObject2

type IObject2 interface {
	String() string
}

IObject2 comment .

type Object1

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

func NewObject1

func NewObject1(value string) Object1

func (Object1) String

func (o Object1) String() string

type Object2

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

func NewObject2

func NewObject2(value string) Object2

func (Object2) String

func (o Object2) String() string

type StructWithMethods

type StructWithMethods struct {
	FieldStruct childpkg.Struct
	FieldString string
}

StructWithMethods comment

func (StructWithMethods) GetFieldString

func (s StructWithMethods) GetFieldString() string

func (StructWithMethods) GetFieldStruct

func (s StructWithMethods) GetFieldStruct() childpkg.Struct

GetFieldStruct comment

func (*StructWithMethods) SetAllFields

func (s *StructWithMethods) SetAllFields(val StructWithMethods)

func (*StructWithMethods) SetFieldStringFromInterface

func (s *StructWithMethods) SetFieldStringFromInterface(val childpkg.Interface)

func (*StructWithMethods) SetFieldStruct

func (s *StructWithMethods) SetFieldStruct(val childpkgalias.Struct)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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