n26prompt
uses AlecAivazis/survey to get credentials from the prompt.
Go >= 1.17
go get github.com/nhatthm/n26prompt
Examples
package mypackage
import (
"github.com/nhatthm/n26api"
"github.com/nhatthm/n26prompt/credentials"
)
func buildClient() (*n26api.Client, error) {
c := n26api.NewClient(
credentials.WithCredentialsAtLast(),
)
return c, nil
}
If this project help you reduce time to develop, you can give me a cup of coffee :)
or scan this