pyerrors

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package pyerrors holds functions returning an error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Div

func Div(i, j int) (int, error)

Div is a function for detecting errors.

Types

type MyString

type MyString string

func (MyString) String

func (t MyString) String() string

type Stringer

type Stringer fmt.Stringer

func NewMyString

func NewMyString(val string) (stringer Stringer, err error)

NewMyString converts a string to a custom MyString type. It is an error to pass an empty string value.

Jump to

Keyboard shortcuts

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