example

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Greeter

type Greeter struct {
	Name string
}

Greeter generates greeting messages.

func (*Greeter) Greet

func (g *Greeter) Greet() string

Greet returns a simple greeting.

func (*Greeter) GreetFancy

func (g *Greeter) GreetFancy() string

GreetFancy returns a fancy bordered greeting.

func (*Greeter) GreetWithColors

func (g *Greeter) GreetWithColors() string

GreetWithColors returns a greeting with ANSI colors.

Jump to

Keyboard shortcuts

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