structtest

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

structtest contains only cases we support. Other cases like the following are related to type inference which is beyond the scope of this package.

type equal = struct_type_from_other_package_or_current_package
type alias struct_type_from_other_package_or_current_package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generic

type Generic[T, U any] struct {
	B int

	D chan float64
	// contains filtered or unexported fields
}

func (*Generic[_, _]) GetB

func (g *Generic[_, _]) GetB() int

GetB should not be generated

func (*Generic[T, U]) SetU

func (g *Generic[T, U]) SetU(u U)

SetU should not be generated

type Normal

type Normal struct {
	B int

	D chan float64
	// contains filtered or unexported fields
}

func (*Normal) SetE

func (n *Normal) SetE(e map[string]complex128)

SetE should not be generated

type S

type S struct{}

Jump to

Keyboard shortcuts

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