Skip to content

zrcoder/amisgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amisgo

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 information and detailed documentation, visit our wiki (in Chinese).

Quick Start

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.

Examples

Check out our examples repository or try the live demo: Dev-Toys.

Project Status

  • Auto-generated components based on latest Amis schema
  • Tests and examples (60% complete)

Note: API is not stable yet and subject to change.

About

A low code frontend framework for gophers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages