Skip to content

Commit

Permalink
Fixing comment and baseURL constant
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Jan 2, 2024
1 parent 4815d82 commit 984eb7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
// Version of the current version of the schema
Version = "draft-0"
// BaseURL is the base URL for all GOBL schemas
BaseURL = "https://gobl.org"
BaseURL = "https://gobl.org/"
// GOBL stores the base schema ID for GOBL, including current schema version.
GOBL ID = BaseURL + Version
)
Expand Down
4 changes: 2 additions & 2 deletions tax/totals.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ func (ct *CategoryTotal) PreciseAmount() num.Amount {
}

// PreciseSum contains an intermediary sum generated from the calculator
// with the original precision. If Calculate was not called on the totals, such
// as when loading, the original sum will be provided instead.
// with the original precision. If no calculations were made on the totals,
// such as when loading, the original sum will be provided instead.
func (t *Total) PreciseSum() num.Amount {
if !t.sum.IsZero() {
return t.sum
Expand Down

0 comments on commit 984eb7d

Please sign in to comment.