hello

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: MIT Imports: 7 Imported by: 1

Documentation

Overview

Package hello is a simple package that prints "Hello, World!"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Env

func Env() string

func Hello

func Hello()

Hello print logo and system info

func ID

func ID() string

func Metadata

func Metadata() map[string]string

func Name

func Name() string

func NodeID added in v0.0.2

func NodeID() int64

func SetEnvWithOption

func SetEnvWithOption(opts ...Option)

func Version

func Version() string

Types

type Option

type Option func(*env)

func WithEnv

func WithEnv(envType string) Option

func WithID

func WithID(id string) Option

func WithMetadata

func WithMetadata(metadata map[string]string) Option

func WithName

func WithName(name string) Option

func WithNodeID added in v0.0.2

func WithNodeID(nodeID int64) Option

func WithVersion

func WithVersion(version string) Option

Jump to

Keyboard shortcuts

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