Help us shape the future of Go! Take the 2026 Go Developer Survey

ascii

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package ascii renders the ScanForge ASCII banner shown at startup.

Index

Constants

View Source
const (
	// Style 1: bold Unicode blocks (from ascii.txt)
	BannerBlocks = `` /* 1922-byte string literal not displayed */

	// Style 2: classic slant, very readable
	BannerClassic = `` /* 294-byte string literal not displayed */

	// Style 3: 3D shaded (from ascii.txt)
	BannerSlanted = `` /* 795-byte string literal not displayed */

	// Style 4: Skull
	BannerSkull = `` /* 1398-byte string literal not displayed */

)

Available banners

Variables

This section is empty.

Functions

func BannerNames added in v0.7.0

func BannerNames() []string

BannerNames returns the list of valid SCANFORGE_BANNER values.

func PrintBanner

func PrintBanner()

PrintBanner prints one of the 4 banners. By default it picks randomly among Blocks/Classic/Slanted/Skull so l'ascii art change à chaque run. Pour figer un style : SCANFORGE_BANNER=blocks|classic|slanted|skull|off (ex: SCANFORGE_BANNER=classic ./scanforge run ...). Sans env, random. Le rendu reste monochrome bleu calme (ui.Primary) — plus de dégradé violet/rose. Historiquement le code tirait au hasard parmi 3 banners avec 3 gradients (a18501d), puis a été figé sur Blocks + gradient cyan→magenta pour "branding stable" — d'où l'impression que "ça ne change jamais" alors que 4 const existent mais une seule était utilisée.

Types

This section is empty.

Jump to

Keyboard shortcuts

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