Registry / utility / laisky-go-chaining

laisky-go-chaining

JSON →
library0.0.0-20180507092046-43dcdc5a21begogounverified

Package chaining provides a method chaining pattern for Go, enabling fluent API design.

go get github.com/Laisky/go-chaining
INSTALL
IMPORT
SIG · LAISKY-GO-CHAINING
L
laisky-go-chaining
utilitygov0.0.0-20180507092046-43dcdc5a21be
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.

chaining
github.com/Laisky/go-chaining

Chain arithmetic operations using the chaining package.

package main import ( "fmt" "github.com/Laisky/go-chaining" ) func main() { result := chaining.New(10).Add(5).Multiply(2).Value() fmt.Println(result) // 30 }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180507092046-43dcdc5a21belatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
laisky-go-chaining — go get laisky-go-chaining · libregistry