simplepackage

package
v0.0.5-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package simplepackage is used for e2e testing a simple package nolint: gomnd, gocritic

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnotherStruct

type AnotherStruct struct {
	A uint
	B uint8
	C uint16
	D uint32
	E uint64
	F uintptr
	G int
	H int8
	I int16
	J int32
	K int64
	L byte
	M rune
	N float32
	O float64
	P string
	Q bool
	R map[string]int
	S []string
	T func(x int) int
	U complex64
	V complex128
}

AnotherStruct another struct example

type NestStuff

type NestStuff struct {
	X func(x int) int
}

NestStuff example directly nested struct

type SomeInterface

type SomeInterface interface {
	SomeOtherInterface

	Hello(x []int) int
}

SomeInterface some interface example

type SomeOtherInterface

type SomeOtherInterface interface {
	World(x string) error
}

SomeOtherInterface some other interface example

type SomeStruct

type SomeStruct struct {
	NestStuff
	X SomeInterface

	SomeString string
}

SomeStruct some struct example

func (*SomeStruct) Hello

func (s *SomeStruct) Hello(arr []int, x AnotherStruct, y func(s AnotherStruct) error) (string, []int)

Hello hello function needs testing

Jump to

Keyboard shortcuts

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