Need to build REST API endpoints.
Instead of creating a separate repository, I want to build on top of the existing Gojang project to reuse the current schema files and avoid maintaining duplicate schema locations.
The plan is to add a new entry point specifically for the API-only build (e.g., /gojang/cmd/api/main.go).
This API-only main.go will exclude all template rendering and view-related logic.
Since Go compiles into a single binary, we can achieve efficient builds by having two separate entry points, one for the web build and another for the API build.
Need to build REST API endpoints.
Instead of creating a separate repository, I want to build on top of the existing Gojang project to reuse the current schema files and avoid maintaining duplicate schema locations.
The plan is to add a new entry point specifically for the API-only build (e.g., /gojang/cmd/api/main.go).
This API-only main.go will exclude all template rendering and view-related logic.
Since Go compiles into a single binary, we can achieve efficient builds by having two separate entry points, one for the web build and another for the API build.