Radiant is used for rapid development of enterprise application in Go, including RESTful APIs, web apps and backend services.
It is inspired and made possible by Beego golang web framework which was inspired by Tornado, Sinatra and Flask. radiant has some Go-specific features such as interfaces and struct embedding.
TODO:: Architecture
Radiant is composed of four parts:
- Base modules: including log module, config module, governor module;
- Task: is used for running timed tasks or periodic tasks;
- Client: including ORM module, httplib module, cache module;
- Server: including web module. We will support gRPC in the future;
Please use RELEASE version, or master branch which contains the latest bug fix
Quick Start
Web Application
TODO:: HTTP REQUEST
hello
directory, cd hello
directory
Create mkdir hello
cd hello
Init module
go mod init
Download and install
go get github.com/W3-Engineers-Ltd/Radiant
hello.go
Create file package main
import "github.com/W3-Engineers-Ltd/Radiant/server/web"
func main() {
web.Run()
}
Build and run
go build hello.go
./hello
http://localhost:8080
Go toCongratulations! You've just built your first radiant app.
Features
- RESTful support
- MVC architecture
- Modularity
- Auto API documents
- Annotation router
- Namespace
- Powerful development tools
- Full stack for Web & API
Modules
Community
//: # (* Welcome to join us in Slack: TODO:: Slack
License
Radiant source code is licensed under the GNU LESSER GENERAL PUBLIC LICENSE, Version 3.0