pkg

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	A = 1
)

Variables

View Source
var (
	B = "b"
)
View Source
var I = H

Functions

func C

func C()

func S

func S[T any](t T)

func U

func U[T any]() T

Types

type D

type D string

func J

func J(
	p1 int,
	p2 *string,
	p3 []string,
	p4 []*bool,
	p5 [2]string,
	p6 map[string]int,
	p7 chan int,
	p8 func(int) string,
	p9 any,
	p10 struct {
		Foo string
		Bar context.Context
		Baz struct {
			Builder strings.Builder
		}
	},
	p11 interface {
		L
		Foo() string
		Bar() bytes.Buffer
	},
	p12 D,
	p13 *E,
	p14 []F,
	p15 [2]G,
	p16 map[D]E,
	p17 context.CancelCauseFunc,
	p18 stdjson.Marshaler,
	json json.Foo,
	variadic ...*packages.Module,
) (int, any, *D, error)

type E

type E any

type F

type F = int

type G

type G = D
const H G = "h"

type K

type K interface {
	Baz() string
}

type L

type L interface {
	K
}

type M

type N

type N[T any] struct {
	Foo T
}

type O

type O N[string]

type P

type P[T any, V ~string] struct {
	N N[T]
	V V
}

func T

func T[C context.Context, S ~string, T any](ctx C, s S, t T) (S, *P[T, S])

func V

func V[I ~string]() P[int, I]

func W

func W() P[int, string]

func (*P[T, V]) Foo

func (*P[T, V]) Foo()

type Q

type Q = P[string, D]

type R

type R[T stdjson.Decoder] P[T, string]

Directories

Path Synopsis
This package is used to simulate the import of a package that has the same name of another one.
This package is used to simulate the import of a package that has the same name of another one.

Jump to

Keyboard shortcuts

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