Fix build for staging
This commit is contained in:
parent
bf99e0ce2e
commit
15766d0f86
5 changed files with 6 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ pkgs.buildGoModule rec {
|
|||
subPackages = [];
|
||||
version = "0.0.11";
|
||||
# Needs to be updated after every modification of go.mod/go.sum
|
||||
vendorHash = "sha256-Yy0GWZdbJf78NCM6ezKXI82TQo7C/aqmGwf8OxlGz/U=";
|
||||
vendorHash = "sha256-zXjryPAJYpc80cqYtrcp//i6OQi5V5QwhaKQYYfrlL8=";
|
||||
|
||||
buildInputs = [ pkgs.proj ];
|
||||
nativeBuildInputs = [ pkgs.pkg-config pkgs.dart-sass ];
|
||||
|
|
|
|||
1
go.mod
1
go.mod
|
|
@ -76,6 +76,7 @@ require (
|
|||
github.com/qdm12/reprint v0.0.0-20200326205758-722754a53494 // indirect
|
||||
github.com/rs/xid v1.6.0 // indirect
|
||||
github.com/sethvargo/go-retry v0.3.0 // indirect
|
||||
github.com/stephenafamo/bob v0.42.0 // indirect
|
||||
github.com/tidwall/geoindex v1.4.4 // indirect
|
||||
github.com/tidwall/gjson v1.12.1 // indirect
|
||||
github.com/tidwall/match v1.1.1 // indirect
|
||||
|
|
|
|||
2
go.sum
2
go.sum
|
|
@ -254,6 +254,8 @@ github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ
|
|||
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
|
||||
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e h1:MRM5ITcdelLK2j1vwZ3Je0FKVCfqOLp5zO6trqMLYs0=
|
||||
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e/go.mod h1:XV66xRDqSt+GTGFMVlhk3ULuV0y9ZmzeVGR4mloJI3M=
|
||||
github.com/stephenafamo/bob v0.42.0 h1:qsiWzbEyGt6sF0ztlpBC9FWAm3UxRUXoy61H7bdk0tI=
|
||||
github.com/stephenafamo/bob v0.42.0/go.mod h1:8l55917DM36gF518Iz1MHjLds7KGAfkitJfxISYlth8=
|
||||
github.com/stephenafamo/fakedb v0.0.0-20221230081958-0b86f816ed97 h1:XItoZNmhOih06TC02jK7l3wlpZ0XT/sPQYutDcGOQjg=
|
||||
github.com/stephenafamo/fakedb v0.0.0-20221230081958-0b86f816ed97/go.mod h1:bM3Vmw1IakoaXocHmMIGgJFYob0vuK+CFWiJHQvz0jQ=
|
||||
github.com/stephenafamo/scan v0.7.0 h1:lfFiD9H5+n4AdK3qNzXQjj2M3NfTOpmWBIA39NwB94c=
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/Gleipnir-Technology/bob"
|
||||
bobpgx "github.com/Gleipnir-Technology/bob/drivers/pgx"
|
||||
//"github.com/Gleipnir-Technology/bob/dialect/psql"
|
||||
//"github.com/Gleipnir-Technology/bob/dialect/psql/sm"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
||||
|
|
@ -25,6 +24,7 @@ import (
|
|||
//"github.com/Gleipnir-Technology/nidus-sync/userfile"
|
||||
//"github.com/google/uuid"
|
||||
"github.com/rs/zerolog/log"
|
||||
bobpgx "github.com/stephenafamo/bob/drivers/pgx"
|
||||
)
|
||||
|
||||
var waitGroup sync.WaitGroup
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ func main() {
|
|||
if *city != "" {
|
||||
req.Locality = city
|
||||
}
|
||||
resp, err := client.StructuredGeocode(ctx, req)
|
||||
resp, err := client.GeocodeStructured(ctx, req)
|
||||
if err != nil {
|
||||
log.Printf("err: %v\n", err)
|
||||
os.Exit(2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue