Skip to content

Commit

Permalink
Bump dependencies, fixed typo (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
xBlaz3kx authored Dec 10, 2024
1 parent afd2e5f commit cd76fad
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ module github.com/ChargePi/ocppManager-go

go 1.22.1

replace github.com/lorenzodonini/ocpp-go v0.18.0 => github.com/ChargePi/ocpp-go v0.18.1
replace github.com/lorenzodonini/ocpp-go v0.18.0 => github.com/ChargePi/ocpp-go v0.19.0

require (
github.com/agrison/go-commons-lang v0.0.0-20240106075236-2e001e6401ef
github.com/lorenzodonini/ocpp-go v0.18.0
github.com/samber/lo v1.46.0
github.com/samber/lo v1.47.0
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.9.0
github.com/stretchr/testify v1.10.0
)

require (
Expand Down
8 changes: 6 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/ChargePi/ocpp-go v0.18.1 h1:Il2g9EVknUpK5qnRV/jOk+QET1/s9cDyLGkUDIUcthU=
github.com/ChargePi/ocpp-go v0.18.1/go.mod h1:ZynYDWGw6CslG3vyPuucLsy6AyE+h3XXYlr39jhNiQY=
github.com/ChargePi/ocpp-go v0.19.0 h1:9+Nwfw3qFfy5Aa3FAVJGeVoFJW+7rX2P21bVdIcquV8=
github.com/ChargePi/ocpp-go v0.19.0/go.mod h1:RbnqLV2fsMoljDp6/cmuK23MJXd+PN9ZUG9kG8nNs00=
github.com/Shopify/toxiproxy v2.1.4+incompatible h1:TKdv8HiTLgE5wdJuEML90aBgNWsokNbMijUGhmcoBJc=
github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
github.com/agrison/go-commons-lang v0.0.0-20240106075236-2e001e6401ef h1:KkznClyESbRaLmRo7Oam4vv5L4oknDK+mixJ9mypl6E=
Expand Down Expand Up @@ -29,6 +29,8 @@ github.com/relvacode/iso8601 v1.3.0 h1:HguUjsGpIMh/zsTczGN3DVJFxTU/GX+MMmzcKoMO7
github.com/relvacode/iso8601 v1.3.0/go.mod h1:FlNp+jz+TXpyRqgmM7tnzHHzBnz776kmAH2h3sZCn0I=
github.com/samber/lo v1.46.0 h1:w8G+oaCPgz1PoCJztqymCFaKwXt+5cCXn51uPxExFfQ=
github.com/samber/lo v1.46.0/go.mod h1:RmDH9Ct32Qy3gduHQuKJ3gW1fMHAnE/fAzQuf6He5cU=
github.com/samber/lo v1.47.0 h1:z7RynLwP5nbyRscyvcD043DWYoOcYRv3mV8lBeqOCLc=
github.com/samber/lo v1.47.0/go.mod h1:RmDH9Ct32Qy3gduHQuKJ3gW1fMHAnE/fAzQuf6He5cU=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
Expand All @@ -43,6 +45,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220804214406-8e32c043e418 h1:9vYwv7OjYaky/tlAeD7C4oC9EsPTlaFl1H2jS++V+ME=
Expand Down
6 changes: 3 additions & 3 deletions ocpp_v16/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func DefaultCoreConfiguration() []core.ConfigurationKey {
string(types.MeasurandCurrentImport),
string(types.MeasurandPowerActiveImport),
string(types.MeasurandEnergyActiveImportInterval),
string(types.MeasueandSoC),
string(types.MeasurandSoC),
}, ",")),
},
{
Expand Down Expand Up @@ -133,7 +133,7 @@ func DefaultCoreConfiguration() []core.ConfigurationKey {
string(types.MeasurandCurrentImport),
string(types.MeasurandPowerActiveImport),
string(types.MeasurandEnergyActiveImportInterval),
string(types.MeasueandSoC),
string(types.MeasurandSoC),
}, ",")),
},
{
Expand All @@ -144,7 +144,7 @@ func DefaultCoreConfiguration() []core.ConfigurationKey {
string(types.MeasurandCurrentImport),
string(types.MeasurandPowerActiveImport),
string(types.MeasurandEnergyActiveImportInterval),
string(types.MeasueandSoC),
string(types.MeasurandSoC),
}, ",")),
},
{
Expand Down

0 comments on commit cd76fad

Please sign in to comment.