Grit is a Go and React framework crafted for speed and for building alongside AI.
Available for macOS, Linux, and Windows
A Go binary that starts in milliseconds and holds thousands of concurrent connections without breaking a sweat.
One resource definition writes the model, the API, the typed client and the admin screen — all of it yours to edit.
Auth, storage, queues, email and an audit log ship in the scaffold, not in a checklist for later.
1package models2 3import (4 "time"5 6 "gorm.io/gorm"7 "myapp/internal/ids"8)9 10type Invoice struct {11 ID string `gorm:"primarykey"`12 Number string `gorm:"uniqueIndex"`13 Total float64 `json:"total"`14 CreatedAt time.Time `json:"created_at"`15}16 17func (m *Invoice) BeforeCreate(tx *gorm.DB) error {18 if m.ID == "" {19 m.ID = ids.New()20 }21 return nil22}