struct tags

This commit is contained in:
kiwiidb
2022-03-24 15:08:45 +01:00
parent 4bfbc3d25c
commit c77e7ccff8

View File

@@ -19,7 +19,7 @@ type InvoiceStreamController struct {
type InvoiceEventWrapper struct { type InvoiceEventWrapper struct {
Type string `json:"type"` Type string `json:"type"`
Invoice *IncomingInvoice `json:"invoice, omitempty"` Invoice *IncomingInvoice `json:"invoice,omitempty"`
} }
func NewInvoiceStreamController(svc *service.LndhubService) *InvoiceStreamController { func NewInvoiceStreamController(svc *service.LndhubService) *InvoiceStreamController {