Lift Framework Examples
This directory contains working examples demonstrating various features and patterns of the Lift framework.
π Getting Started
Core Examples
π Authentication & Security
π Real-time & Event-Driven
π’ Enterprise Applications
π Production Patterns
π§ͺ Testing & Development
π§ Special Purpose
Running Examples
Each example directory contains its own main.go file and often a README.md with specific instructions. To run an example:
cd examples/hello-world
go run main.go
For Lambda deployment:
GOOS=linux GOARCH=amd64 go build -o bootstrap main.go
zip function.zip bootstrap
Testing Examples
Some examples include test files. Run tests with:
go test -v
Contributing
When adding new examples:
- Create a descriptive directory name
- Include a
README.md explaining the example
- Keep examples focused on demonstrating specific features
- Include tests where appropriate
- Update this file to list your example