diff --git a/ci/build.yml b/ci/build.yml index 1308116..204b4b2 100644 --- a/ci/build.yml +++ b/ci/build.yml @@ -6,7 +6,7 @@ image_resource: type: docker-image source: repository: golang - tag: 1.24.9-bookworm + tag: 1.24.11-bookworm inputs: - name: dp-cli diff --git a/ci/lint.yml b/ci/lint.yml index 3268325..bd02503 100644 --- a/ci/lint.yml +++ b/ci/lint.yml @@ -6,7 +6,7 @@ image_resource: type: docker-image source: repository: golang - tag: 1.24.9-bookworm + tag: 1.24.11-bookworm inputs: - name: dp-cli diff --git a/ci/unit.yml b/ci/unit.yml index 642440e..0a3b642 100644 --- a/ci/unit.yml +++ b/ci/unit.yml @@ -6,7 +6,7 @@ image_resource: type: docker-image source: repository: golang - tag: 1.24.9-bookworm + tag: 1.24.11-bookworm inputs: - name: dp-cli diff --git a/go.mod b/go.mod index 200eade..f1a1fd6 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ module github.com/ONSdigital/dp-cli -go 1.24 +go 1.24.0 require ( - github.com/ONSdigital/log.go/v2 v2.4.6 + github.com/ONSdigital/log.go/v2 v2.5.1 github.com/aws/aws-sdk-go v1.55.7 github.com/fatih/color v1.18.0 github.com/google/go-github/v66 v66.0.0 diff --git a/go.sum b/go.sum index 9f54d5c..16af99f 100644 --- a/go.sum +++ b/go.sum @@ -2,11 +2,11 @@ github.com/ONSdigital/dp-api-clients-go/v2 v2.266.0 h1:NQbu+x2Q7ZhrjGKvN73qVxG/n github.com/ONSdigital/dp-api-clients-go/v2 v2.266.0/go.mod h1:bLseTP21r8LCStUEeOdVPyqtrTomOFP/azPjKWW4deA= github.com/ONSdigital/dp-net/v3 v3.3.0 h1:NAH9z+nvbJxoK6OnDpOyJJ+52dqBhVtaugk5bqEDt0Y= github.com/ONSdigital/dp-net/v3 v3.3.0/go.mod h1:ur4LLCvd2xW2jpa785pElE6HB2bPvszZxdAjqv0XFGg= -github.com/ONSdigital/log.go/v2 v2.4.6 h1:GgJOFLQvGiZmVjsHDD91xgovSCtHf0UIdJmlRCzp/pE= -github.com/ONSdigital/log.go/v2 v2.4.6/go.mod h1:0ilpZzc5lVoBlXC/s5m8EaQETbe0yT8Z+p4QhKy0fpY= github.com/aws/aws-sdk-go v1.55.7 h1:UJrkFq7es5CShfBwlWAC8DA077vp8PyVbQd3lqLiztE= github.com/aws/aws-sdk-go v1.55.7/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= +github.com/ONSdigital/log.go/v2 v2.5.1 h1:GCM270UHSP5+mv4OaQ2oHiWp0FiSgfnM6imW2zpAslw= +github.com/ONSdigital/log.go/v2 v2.5.1/go.mod h1:KZNEweCUHD8dKwhlvoRvgd2Y2aUIuU3H9/MmbFyVzW8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/project_generation/content/templates/api/service/initialise.go.tmpl b/project_generation/content/templates/api/service/initialise.go.tmpl index eb7264e..aeca739 100644 --- a/project_generation/content/templates/api/service/initialise.go.tmpl +++ b/project_generation/content/templates/api/service/initialise.go.tmpl @@ -6,7 +6,7 @@ import ( "github.com/ONSdigital/{{.Name}}/config" "github.com/ONSdigital/dp-healthcheck/healthcheck" - dphttp "github.com/ONSdigital/dp-net/v2/http" + dphttp "github.com/ONSdigital/dp-net/v3/http" ) // ExternalServiceList holds the initialiser and initialisation state of external services. diff --git a/project_generation/content/templates/controller/features/steps/example_component.go.tmpl b/project_generation/content/templates/controller/features/steps/example_component.go.tmpl index 90aa07b..7a8548c 100644 --- a/project_generation/content/templates/controller/features/steps/example_component.go.tmpl +++ b/project_generation/content/templates/controller/features/steps/example_component.go.tmpl @@ -8,7 +8,7 @@ import ( "github.com/ONSdigital/dp-api-clients-go/v2/health" componenttest "github.com/ONSdigital/dp-component-test" "github.com/ONSdigital/dp-healthcheck/healthcheck" - dphttp "github.com/ONSdigital/dp-net/v2/http" + dphttp "github.com/ONSdigital/dp-net/v3/http" render "github.com/ONSdigital/dis-design-system-go" "github.com/ONSdigital/log.go/v2/log" "github.com/ONSdigital/{{.Name}}/assets" diff --git a/project_generation/content/templates/controller/handlers/handlers.go.tmpl b/project_generation/content/templates/controller/handlers/handlers.go.tmpl index 14ebeff..851bc65 100644 --- a/project_generation/content/templates/controller/handlers/handlers.go.tmpl +++ b/project_generation/content/templates/controller/handlers/handlers.go.tmpl @@ -5,7 +5,7 @@ import ( "github.com/ONSdigital/{{.Name}}/config" "github.com/ONSdigital/{{.Name}}/mapper" - dphandlers "github.com/ONSdigital/dp-net/v2/handlers" + dphandlers "github.com/ONSdigital/dp-net/v3/handlers" "github.com/ONSdigital/log.go/v2/log" ) diff --git a/project_generation/content/templates/controller/service/initialise.go.tmpl b/project_generation/content/templates/controller/service/initialise.go.tmpl index ec5d761..172e6ab 100644 --- a/project_generation/content/templates/controller/service/initialise.go.tmpl +++ b/project_generation/content/templates/controller/service/initialise.go.tmpl @@ -7,7 +7,7 @@ import ( "github.com/ONSdigital/dp-api-clients-go/v2/health" "github.com/ONSdigital/dp-healthcheck/healthcheck" "github.com/ONSdigital/{{.Name}}/config" - dphttp "github.com/ONSdigital/dp-net/v2/http" + dphttp "github.com/ONSdigital/dp-net/v3/http" ) // ExternalServiceList holds the initialiser and initialisation state of external services. diff --git a/project_generation/content/templates/event/features/steps/example_component.go.tmpl b/project_generation/content/templates/event/features/steps/example_component.go.tmpl index a8a2f1e..a2e3eeb 100644 --- a/project_generation/content/templates/event/features/steps/example_component.go.tmpl +++ b/project_generation/content/templates/event/features/steps/example_component.go.tmpl @@ -9,7 +9,7 @@ import ( "github.com/ONSdigital/dp-healthcheck/healthcheck" kafka "github.com/ONSdigital/dp-kafka/v4" "github.com/ONSdigital/dp-kafka/v4/kafkatest" - dphttp "github.com/ONSdigital/dp-net/v2/http" + dphttp "github.com/ONSdigital/dp-net/v3/http" "github.com/ONSdigital/{{.Name}}/config" "github.com/ONSdigital/{{.Name}}/service" "github.com/ONSdigital/{{.Name}}/service/mock" diff --git a/project_generation/content/templates/event/service/initialise.go.tmpl b/project_generation/content/templates/event/service/initialise.go.tmpl index 49a693a..38cefad 100644 --- a/project_generation/content/templates/event/service/initialise.go.tmpl +++ b/project_generation/content/templates/event/service/initialise.go.tmpl @@ -7,7 +7,7 @@ import ( "github.com/ONSdigital/dp-healthcheck/healthcheck" "github.com/ONSdigital/{{.Name}}/config" dpkafka "github.com/ONSdigital/dp-kafka/v4" - dphttp "github.com/ONSdigital/dp-net/v2/http" + dphttp "github.com/ONSdigital/dp-net/v3/http" ) // ExternalServiceList holds the initialiser and initialisation state of external services.