From 299d7de0f299762c85a8364bf22052e35854d3f4 Mon Sep 17 00:00:00 2001 From: Brandur Date: Sun, 9 Mar 2025 22:12:06 -0700 Subject: [PATCH] Update internal references from "riverapiframe" to "apiframe" Corrects a few straggling problems with the rename done in #1. CI still passed there, so I thought I'd gotten everything, but didn't. --- apiendpoint/api_endpoint.go | 4 ++-- apiendpoint/api_endpoint_test.go | 2 +- docs/README.md | 2 +- go.mod | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apiendpoint/api_endpoint.go b/apiendpoint/api_endpoint.go index ee02a00..d952cf0 100644 --- a/apiendpoint/api_endpoint.go +++ b/apiendpoint/api_endpoint.go @@ -16,8 +16,8 @@ import ( "github.com/jackc/pgerrcode" "github.com/jackc/pgx/v5/pgconn" - "github.com/riverqueue/riverapiframe/apierror" - "github.com/riverqueue/riverapiframe/internal/validate" + "github.com/riverqueue/apiframe/apierror" + "github.com/riverqueue/apiframe/internal/validate" ) // Endpoint is a struct that should be embedded on an API endpoint, and which diff --git a/apiendpoint/api_endpoint_test.go b/apiendpoint/api_endpoint_test.go index 2717e5e..793a405 100644 --- a/apiendpoint/api_endpoint_test.go +++ b/apiendpoint/api_endpoint_test.go @@ -15,8 +15,8 @@ import ( "github.com/jackc/pgx/v5/pgconn" "github.com/stretchr/testify/require" + "github.com/riverqueue/apiframe/apierror" "github.com/riverqueue/river/rivershared/riversharedtest" - "github.com/riverqueue/riverapiframe/apierror" ) func TestMountAndServe(t *testing.T) { diff --git a/docs/README.md b/docs/README.md index 1d69fe4..2f1137d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,3 +1,3 @@ -# riverapiframe [![Build Status](https://github.com/riverqueue/riverapiframe/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/riverqueue/riverapiframe/actions) +# apiframe [![Build Status](https://github.com/riverqueue/apiframe/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/riverqueue/apiframe/actions) A minimal API framework for various River projects. diff --git a/go.mod b/go.mod index 8d2747d..1243ae9 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/riverqueue/riverapiframe +module github.com/riverqueue/apiframe go 1.23.0