variadic

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NonVariFunc

func NonVariFunc(arg1 int, arg2 []int, arg3 int) int

///////////// Non Variadic //////////////

func VariFunc

func VariFunc(vargs ...int) int

///////////// Variadic Over Int //////////////

func VariInterFaceFunc

func VariInterFaceFunc(vargs ...IntInterFace) int

func VariStructFunc

func VariStructFunc(vargs ...IntStrUct) int

Types

type IntInterFace

type IntInterFace interface {
	Number() int
}

///////////// Variadic Over Interface //////////////

type IntStrUct

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

///////////// Variadic Over Struct //////////////

func NewIntStrUct

func NewIntStrUct(n int) IntStrUct

func (*IntStrUct) Number

func (is *IntStrUct) Number() int

Jump to

Keyboard shortcuts

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