fn: create new sub-module

In this commit, we make a new sub-module from the `fn` package. This
lets other projects use it w/o pulling in all of lnd, and also other
sub-packages within lnd.

We also add a temp replace directive for new module.  We'll remove this
once we tag the final version.
This commit is contained in:
Olaoluwa Osuntokun
2023-12-06 16:33:43 -08:00
parent 4fa483f1bc
commit b0114efad3
2 changed files with 6 additions and 0 deletions

3
fn/go.mod Normal file
View File

@@ -0,0 +1,3 @@
module github.com/lightningnetwork/lnd/fn
go 1.19