Skip to content

Commit

Permalink
feat(runtime): add constant for API version v1
Browse files Browse the repository at this point in the history
- Introduce new constant ApiVersionV1 with value "/api/v1"
- This provides a dedicated constant for version v1 API routes
  • Loading branch information
godcong committed Dec 23, 2024
1 parent 50299d2 commit 34867d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
)

const (
ApiVersionV1 = "/api/v1"
DefaultPrefix = "/api"
DefaultVersion = "v1"
)
Expand Down

0 comments on commit 34867d7

Please sign in to comment.