mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
2bd9911804
In the year of our lord 2024 we should not be writing for loops for standard operations. Here we introduce named slice operations not found in the golang slices package. Note all these functions are pure.
16 lines
348 B
Modula-2
16 lines
348 B
Modula-2
module github.com/lightningnetwork/lnd/fn
|
|
|
|
go 1.19
|
|
|
|
require (
|
|
github.com/lightninglabs/neutrino/cache v1.1.2
|
|
github.com/stretchr/testify v1.8.1
|
|
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b
|
|
)
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|