Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "fmt"
- "github.com/mitch000001/go-hbci/client"
- )
- func main() {
- config := client.Config{
- BankID: "12030000",
- AccountID: "secret",
- PIN: "secret",
- URL: "",
- HBCIVersion: 0}
- c, err := client.New(config)
- if err != nil {
- panic(err)
- }
- accounts, err := c.Accounts()
- if err != nil {
- panic(err)
- }
- for _, account := range accounts {
- fmt.Printf("%+v\n", account)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement