a

package
v0.0.0-...-d6ff411 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

package a docs lorem ipsum dolor...

Index

Constants

View Source
const (
	ConstC0 = iota
	ConstC1 // after
	ConstC2
)

some generic group comment

View Source
const ConstA string = "test" // after

comment

View Source
const ConstB = 123

multi line comment

Variables

View Source
var VarA = 123 // after

comment

View Source
var VarB any = "test"
View Source
var VarC time.Time = time.Now()

external package type

View Source
var VarD = make(chan int)

chan

View Source
var VarE = map[string]func(){"test": func() {}}

composite

Functions

This section is empty.

Types

type Empty

type Empty interface{}

type Handler

type Handler[T comparable] func() (T, int) // after

multi line comment

type InterfaceB

type InterfaceB interface {
	Empty

	// "replace" Method0 from interfaceA
	Method0()

	CustomMethod() time.Time
	// contains filtered or unexported methods
}

multi line comment

type SliceAlias

type SliceAlias[T any] []T // after

type comment

type StructB

type StructB[T any] struct {
	Field3 T
	// contains filtered or unexported fields
}

structB comment

func (StructB) Method1

func (s StructB) Method1(arg1 int)

method comment

func (*StructB) Method2

func (s *StructB) Method2(arg1 int, arg2 ...string)

func (*StructB[T]) Method3

func (s *StructB[T]) Method3(arg1 int) (a int, b string, c error)

Jump to

Keyboard shortcuts

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