Introduce own Numeric type and revert to stdlib from pgx

This commit is contained in:
2021-12-02 21:29:44 +00:00
parent 6f8a94ff5d
commit 4646356b2d
16 changed files with 136 additions and 57 deletions

View File

@@ -11,7 +11,7 @@
{{range .Accounts}}
<div class="budget-item">
<a href="account/{{.ID}}">{{.Name}}</a>
<span class="time">{{.Balance}}</span>
<span class="time">{{printf "%.2f" .GetBalance}}</span>
</div>
{{end}}
{{end}}