banner

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package banner exposes the evva splash banner. The default banner is embedded into the binary; callers may override it by dropping their own banner.txt into the user's EvvaHome (typically ~/.evva/).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() string

Default returns the banner shipped with the binary.

func Load

func Load(evvaHome string) string

Load returns the banner the user wants displayed. It looks for `<evvaHome>/banner.txt` first and falls back to the embedded default when that file is missing, empty, or unreadable.

Empty evvaHome skips the disk lookup entirely. Errors during the lookup are swallowed — banners are decorative, never load-bearing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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