Skip to content

v0.0.1 - Initial Release

Choose a tag to compare

@jackielii jackielii released this 22 Jun 21:23
· 217 commits to main since this release

🎉 Initial Release

This is the first alpha release of structpages, a Go web framework that provides struct-based routing with minimal boilerplate.

Features

  • Struct-based routing - Define routes using struct tags
  • Templ support - Built-in integration with the Templ templating engine
  • http.ServeMux foundation - Built on Go's standard library
  • Middleware support - Global and per-page middleware
  • HTMX integration - Partial rendering for modern web apps
  • Type-safe URLs - Generate URLs with compile-time safety using UrlFor
  • Dependency injection - Pass services to page methods
  • Props pattern - Component-specific data loading
  • Nested routing - Hierarchical URL structures
  • Custom handlers - Extended ServeHTTP support

Installation

go get github.com/jackielii/structpages@v0.0.1

Status

Alpha - This package is in early development and may have breaking changes in future releases. Currently used in a medium-sized project, but not yet battle-tested in production.

Documentation

See the README for usage examples and API documentation.

Examples

Check out the examples directory for:

  • Simple routing example
  • HTMX integration
  • Todo app demonstration

🤖 Generated with Claude Code