From 821578a96514d2180eba343c767cea040a12560b Mon Sep 17 00:00:00 2001 From: "Michael J. Roberts" Date: Tue, 21 Jun 2022 13:48:00 +0100 Subject: [PATCH] chore: Upgraded @observerly/dusk module => 1.15.0 --- coverage.txt | 2 +- go.mod | 2 +- go.sum | 4 ++-- pkg/transit/transit.go | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/coverage.txt b/coverage.txt index 9b895f4..c33c4e1 100644 --- a/coverage.txt +++ b/coverage.txt @@ -19,8 +19,8 @@ github.com/observerly/nocturnal/internal/router/setup.go:38.40,45.4 1 0 github.com/observerly/nocturnal/internal/router/setup.go:58.41,65.3 1 1 github.com/observerly/nocturnal/internal/router/setup.go:68.40,77.3 1 1 github.com/observerly/nocturnal/internal/router/setup.go:80.33,82.3 1 1 -github.com/observerly/nocturnal/pkg/twilight/twilight.go:14.34,75.2 14 1 github.com/observerly/nocturnal/pkg/sun/sun.go:15.29,57.2 13 1 +github.com/observerly/nocturnal/pkg/twilight/twilight.go:14.34,75.2 14 1 github.com/observerly/nocturnal/pkg/moon/moon.go:15.30,61.22 16 1 github.com/observerly/nocturnal/pkg/moon/moon.go:67.2,67.21 1 1 github.com/observerly/nocturnal/pkg/moon/moon.go:73.2,78.4 1 1 diff --git a/go.mod b/go.mod index 3b262ef..75b7f34 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.17 require ( github.com/gin-contrib/cors v1.3.1 github.com/gin-gonic/gin v1.7.7 - github.com/observerly/dusk v1.14.1 + github.com/observerly/dusk v1.15.0 github.com/stretchr/testify v1.7.1 ) diff --git a/go.sum b/go.sum index caf918e..ef515a4 100644 --- a/go.sum +++ b/go.sum @@ -40,8 +40,8 @@ github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OH github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/observerly/dusk v1.14.1 h1:5RNANFDSRLSbmz9dL+wKO+yplH5n7KYuGnZmjR8Y1Ko= -github.com/observerly/dusk v1.14.1/go.mod h1:ABt8hslu9e+iax4vAigf4l+lC4JNUAE02GD0A87VKeU= +github.com/observerly/dusk v1.15.0 h1:7sWiuO/aJytG/rh6Bf7v42SE3jliXEbWCzD89mKwVaA= +github.com/observerly/dusk v1.15.0/go.mod h1:ABt8hslu9e+iax4vAigf4l+lC4JNUAE02GD0A87VKeU= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= diff --git a/pkg/transit/transit.go b/pkg/transit/transit.go index afb06c2..36920e4 100644 --- a/pkg/transit/transit.go +++ b/pkg/transit/transit.go @@ -73,8 +73,8 @@ func GetTransit(c *gin.Context) { "az": fmt.Sprintf("%f", hz.Azimuth), "ra": fmt.Sprintf("%f", rightAscension), "dec": fmt.Sprintf("%f", declination), - "R": fmt.Sprintf("%f", refraction), - "X": fmt.Sprintf("%f", airmass), + "R": fmt.Sprintf("%v", refraction), + "X": fmt.Sprintf("%v", airmass), } transit := gin.H{