zero

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: MIT Imports: 0 Imported by: 1

Documentation

Overview

Package zero is a utility package that holds empty data types and no-op objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface = interface{}

Interface is the empty interface.

It says nothing; all values implement the empty interface.

type Struct

type Struct = struct{}

Struct is a struct with no fields.

It holds no information, and has a size of zero.

func Empty

func Empty() Struct

Empty creates an empty Struct.

Jump to

Keyboard shortcuts

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