fix draw to show qt
parent
596c20d76c
commit
23614057a3
|
|
@ -1,7 +1,7 @@
|
|||
#! /bin/bash
|
||||
|
||||
cd "$(dirname "$(realpath "$BASH_SOURCE")")"
|
||||
go run . -http=:8080 \
|
||||
go run . -http=:8081 \
|
||||
-foo reg \
|
||||
-like-after 1023-08 \
|
||||
-group-date ^....-.. \
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ import (
|
|||
|
||||
"github.com/go-echarts/go-echarts/v2/charts"
|
||||
"github.com/go-echarts/go-echarts/v2/opts"
|
||||
"gogs.inhome.blapointe.com/ana-ledger/ana"
|
||||
"gogs.inhome.blapointe.com/ana-ledger/ledger"
|
||||
)
|
||||
|
||||
|
|
@ -105,7 +106,7 @@ func main() {
|
|||
}
|
||||
predictionDuration := time.Hour * 24 * 365 / 12 * time.Duration(predictionMonths)
|
||||
if r.URL.Query().Get("predictContributions") != "" {
|
||||
register, err = ledger.RegisterWithContributionPrediction(register, predictionDuration)
|
||||
register, err = ana.RegisterWithContributionPrediction(register, predictionDuration)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
@ -116,7 +117,7 @@ func main() {
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
register, err = ledger.RegisterWithCompoundingInterestPrediction(register, predictionDuration, name, rate)
|
||||
register, err = ana.RegisterWithCompoundingInterestPrediction(register, predictionDuration, name, rate)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
@ -127,7 +128,7 @@ func main() {
|
|||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
bpis, err = ledger.BPIsWithFixedGrowthPrediction(bpis, predictionDuration, currency, rate)
|
||||
bpis, err = ana.BPIsWithFixedGrowthPrediction(bpis, predictionDuration, currency, rate)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue