tasks

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const UnknownPersonErrorType = "UnknownPersonError"

Variables

This section is empty.

Functions

func Greeter

func Greeter(ctx context.Context, name string) (string, error)

func PersonAge

func PersonAge(ctx context.Context, name string) (int, error)

func RandomQuote

func RandomQuote(ctx context.Context) (string, error)

Types

type UnknownPersonError

type UnknownPersonError struct {
	// contains filtered or unexported fields
}

func NewUnknownPersonError

func NewUnknownPersonError(name string) UnknownPersonError

func (UnknownPersonError) Error

func (e UnknownPersonError) Error() string

Jump to

Keyboard shortcuts

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