Update to latest arcgis-go interfacets
This commit is contained in:
parent
a93099fd6e
commit
62c724b5c2
4 changed files with 29 additions and 54 deletions
4
main.go
4
main.go
|
|
@ -11,7 +11,6 @@ import (
|
|||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/Gleipnir-Technology/arcgis-go"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/auth"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/background"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
||||
|
|
@ -144,9 +143,6 @@ func main() {
|
|||
log.Error().Err(err).Msg("Failed to start openAI client")
|
||||
os.Exit(8)
|
||||
}
|
||||
custom_logger := log.With().Logger().Level(zerolog.InfoLevel)
|
||||
background_ctx := arcgis.WithLogger(ctx, custom_logger)
|
||||
background.Start(background_ctx)
|
||||
server := &http.Server{
|
||||
Addr: config.Bind,
|
||||
Handler: r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue