forked from invopop/gobl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gobl.go
30 lines (26 loc) · 823 Bytes
/
gobl.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Package gobl contains all the base models for GOBL.
package gobl
import (
// import all the dependencies to ensure all init() methods are called.
_ "github.com/invopop/gobl/addons"
_ "github.com/invopop/gobl/bill"
_ "github.com/invopop/gobl/catalogues"
_ "github.com/invopop/gobl/currency"
_ "github.com/invopop/gobl/dsig"
_ "github.com/invopop/gobl/i18n"
_ "github.com/invopop/gobl/note"
_ "github.com/invopop/gobl/num"
_ "github.com/invopop/gobl/org"
_ "github.com/invopop/gobl/regimes"
"github.com/invopop/gobl/schema"
)
//go:generate go run ./schema/generate.go
//go:generate go run ./regimes/generate.go
//go:generate go run ./addons/generate.go
//go:generate go run ./catalogues/generate.go
//go:generate go run ./currency/generate.go
func init() {
schema.Register(schema.GOBL,
Envelope{},
)
}