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"
)
func main() {
app := amisgo.New()
index := app.Page().Title("amisgo").Body(
app.Form().
Api("https://xxx/api/saveForm").
Body(
app.InputText().Label("姓名").Name("name"),
app.InputEmail().Label("邮箱").Name("email"),
),
)
app.Mount("/", index)
panic(app.Run(":8080"))
}
Visit http://localhost:8080 after running the code.
Explore our documentation for in-depth tutorials and guides.
Check out our examples repository.
The API is not yet stable and is subject to change. However, the overall architecture and the core components are already in place. We are actively working on improving the stability. If you encounter any issues or have any feature requests, please don't hesitate to open an issue.