This project is a web framework built using Go, which includes several key features like migration, websocket, middleware, model, validation, helpers, command execution, error handling, and auto-compilation. It is designed to provide a solid foundation for building web applications with Go.
To run this project, you need the following:
- Go 1.19 or higher
- MySQL database for handling data storage
- Git installed on your system
- Supported platforms: Linux, macOS, Windows
Before running the project, you need to install the required Go packages.
Run the following command to install the dependencies:
go mod tidy
Follow these steps to set up the project:
- Install the package using
go get
:
go get github.com/sajad-dev/go-web-framework
- Import the package into your project:
import "github.com/sajad-dev/go-web-framework"
- Set up the environment variables (e.g., database connection):
cp .env.example .env
- Run the project:
go run main.go
To run tests for this project, follow these steps:
- Run the tests using the
go test
command:
go test ./test/check-system
- To see more detailed output, use the
-v
flag:
go test -v ./test/check-system
Mohammad Sajad Poorajam (Ω ΨΩ Ψ― Ψ³Ψ¬Ψ§Ψ― ΩΎΩΨ±ΨΉΨ¬Ω )