A low-code frontend framework for Go developers, powered by Baidu's Amis.
The name combines amis
and go
, which coincidentally means "friend" in Zulu.
For background info and deeper insights, check out our documentation (in Chinese).
package main
import (
"github.com/zrcoder/amisgo"
"github.com/zrcoder/amisgo/comp"
)
func main() {
index := comp.Page().Title("Amisgo").Body(
comp.Form().Body(
comp.InputText().Label("Name").Name("name"),
comp.InputEmail().Label("Email").Name("email"),
),
)
ag := amisgo.New().Mount("/", index)
panic(ag.Run(":8080"))
}
Visit http://localhost:8080 after running the code.
Explore our documentation for in-depth tutorials and guides.
Check out our examples repository.
- Auto-generated components based on latest Amis schema
- Tests and examples (60% complete)
Note: API is not stable yet and subject to change.