weiro/models/ids.go
Leon Mika e77cac2fd5 Started working on the frontend
- Added the new post frontend
- Hooked up publishing of posts to the site publisher
- Added an site exporter as a publishing target
2026-02-21 10:22:10 +11:00

9 lines
124 B
Go

package models
import "github.com/matoous/go-nanoid/v2"
func NewNanoID() string {
id, _ := gonanoid.New(12)
return id
}