ci for golang

This commit is contained in:
Jesse de Wit
2023-11-10 12:33:53 +01:00
committed by ok300
parent 8ba143498a
commit 33b1597da7
4 changed files with 55 additions and 2 deletions

View File

@@ -23,4 +23,7 @@ go.work
# Ignore Go binaries
**/*
!**/*.go
!**/
!**/*.md
!**/
breez-sdk-go

6
snippets/go/README.md Normal file
View 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

View File

@@ -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