This directory contains various examples demonstrating dotweb features.
Simple web server setup with routing.
// See main.goDemonstrates JWT token-based authentication.
// See jwt/main.goRun:
cd jwt
go run main.goShows how to handle file uploads.
// See file-upload/main.goRun:
cd file-upload
go run main.goCross-Origin Resource Sharing configuration.
// See cors/main.goRun:
cd cors
go run main.go# Run any example
cd example/<name>
go run main.goVisit dotweb-example for more complete examples.