mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
ci for golang
This commit is contained in:
5
snippets/go/.gitignore
vendored
5
snippets/go/.gitignore
vendored
@@ -23,4 +23,7 @@ go.work
|
||||
# Ignore Go binaries
|
||||
**/*
|
||||
!**/*.go
|
||||
!**/
|
||||
!**/*.md
|
||||
!**/
|
||||
|
||||
breez-sdk-go
|
||||
6
snippets/go/README.md
Normal file
6
snippets/go/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
## Steps to compile the snippets locally
|
||||
1. Build a golang package
|
||||
- By running the publish-all-platforms CI in the breez-sdk repository (use dummy binaries)
|
||||
- or by cloning https://github.com/breez/breez-sdk-go
|
||||
2. Place the files in the folder `snippets/go/packages/breez-sdk-go`
|
||||
3. Happy coding
|
||||
@@ -3,3 +3,4 @@ module main
|
||||
go 1.19
|
||||
|
||||
require github.com/breez/breez-sdk-go v0.2.7
|
||||
replace github.com/breez/breez-sdk-go => ./packages/breez-sdk-go
|
||||
|
||||
Reference in New Issue
Block a user