x

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 0 Imported by: 2

README

X

A collection of functions to write concise code.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(a ...any)

Check panics if one of its arguments is a non-nil error.

func Ptr

func Ptr[T any](v T) *T

Ptr returns a pointer to v.

func Reverse

func Reverse[S ~[]E, E any](s S)

Reverse reverses a slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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