Implement CLI mode and Markdown parsing

- Add CLI mode distinction (gocv vs gocv serve)
- Add goldmark dependency for Markdown parsing
- Create content reading logic from ./content directory
- Implement Markdown to HTML conversion
- Add sample content/index.md for testing
- Update .gitignore for build artifacts

Co-Authored-By: Claude (glm-5) <noreply@anthropic.com>
This commit is contained in:
2026-03-05 02:13:16 +01:00
parent 70ca2e50e5
commit a1d054dfe4
7 changed files with 179 additions and 11 deletions

2
go.mod
View File

@@ -6,3 +6,5 @@ require (
github.com/gorilla/mux v1.8.1
gopkg.in/yaml.v2 v2.4.0
)
require github.com/yuin/goldmark v1.7.16 // indirect