eikster-dk / dinero-go Goto Github PK
View Code? Open in Web Editor NEWGolang client for Dinero Regnskab
License: MIT License
Golang client for Dinero Regnskab
License: MIT License
This will allow you to use the dinero SDK from Google AppEngine
implement the products api according to https://api.dinero.dk/v1/docs
implement the SalesCreditNotes api according to https://api.dinero.dk/v1/docs
implement the tradeoffers api according to https://api.dinero.dk/v1/docs
If the client get throttled by too many requests the API will return an 429 error. Handle this with a specific error message to allow the consumers of the library to handle it gracefully with easy error checking.
Add a CircleCi build configuration to run and test the SDK before allowing the PR to be merged into master
Implement the invoices api
implement the sales api according to https://api.dinero.dk/v1/docs
Implement the entries api
Create a logger in the SDK that can be replaced by outside implementations of the logger interface
implement the LedgerItems api
implement the files api
Make use of go 1.11 mods
To improve the quality of the SDK, add a property for all const types in the SDK.
For example:
// Payment terms
const (
Netto = "Netto"
NettoCash = "NettoCash"
CurrentMonthOut = "CurrentMonthNettoOut"
)
Can have a type alias like
// PaymentTerm represents how payment terms in dinero regnskab
type PaymentTerm string
// Payment terms
const (
Netto PaymentTerm = "Netto"
NettoCash PaymentTerm = "NettoCash"
CurrentMonthOut PaymentTerm = "CurrentMonthNettoOut"
)
Packages have const without a type alias is:
implement the purchaseVouchers api according to https://api.dinero.dk/v1/docs
Add an automatic pagination feature that will allow you to go through the pages of the paginated objects like
var params ListParams
iter, _ := List(c, params)
for iter.Next() {
item := iter.Item()
// Do something to item
}
This should work on the following endpoints
implement the VatType Api according to https://api.dinero.dk/v1/docs
implement the organizations api
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.