From 34867d765b61ac775d04664d8e6edfb8f8e43031 Mon Sep 17 00:00:00 2001 From: godcong Date: Mon, 23 Dec 2024 16:19:41 +0800 Subject: [PATCH] feat(runtime): add constant for API version v1 - Introduce new constant ApiVersionV1 with value "/api/v1" - This provides a dedicated constant for version v1 API routes --- agent/agent.go | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/agent.go b/agent/agent.go index 9ccbc0a..7ceb74b 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -12,6 +12,7 @@ import ( ) const ( + ApiVersionV1 = "/api/v1" DefaultPrefix = "/api" DefaultVersion = "v1" )