Registry / utility / boz-go-lifecycle

boz-go-lifecycle

JSON →
library0.1.1gogounverified

A Go library for managing lifecycle states of objects with hooks for transitions.

go get github.com/boz/go-lifecycle
INSTALL
IMPORT
SIG · BOZ-GO-LIFECYCLE
B
boz-go-lifecycle
utilitygov0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

lifecycle
github.com/boz/go-lifecycle

Creates a new lifecycle manager and prints its initial state.

package main import ( "fmt" "github.com/boz/go-lifecycle" ) func main() { lc := lifecycle.New() fmt.Println(lc.State()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Meta
1
Amazon
1
Resources