【文件属性】:
文件名称:go-fakturoid
文件大小:15KB
文件格式:ZIP
更新时间:2021-03-30 01:56:52
Go
去类脂
连接到API
package main
import (
"fmt"
go_fakturoid "github.com/MLJ-solutions/go-fakturoid"
)
func main () {
client , _ := go_fakturoid . New ( & go_fakturoid. Options {
Creds : go_fakturoid . NewCredentials ( "EMAIL" , "SLUG" , "PRIVATE KEY" ),
})
fmt . Println ( client )
}
创建发票的完整示例
package main
import (
"fmt"
. "github.com/MLJ-solutions/go-fakturoid"
"github.com/MLJ-solutions/go-fakt
【文件预览】:
go-fakturoid-master
----api-invoices.go(6KB)
----models()
--------account.go(3KB)
--------payment-method.go(170B)
--------subject.go(1KB)
--------bank-account.go(390B)
--------date-time.go(1KB)
--------invoice.go(8KB)
----api-account.go(662B)
----transport.go(1KB)
----error-respose.go(508B)
----LICENSE(1KB)
----api.go(2KB)
----client.go(4KB)
----api-subjects.go(2KB)
----.gitignore(269B)
----README.md(2KB)
----utils.go(933B)
----fakturoid-error.go(130B)
----api-bank-accounts.go(748B)
----go.mod(54B)