- Added the new post frontend - Hooked up publishing of posts to the site publisher - Added an site exporter as a publishing target
9 lines
124 B
Go
9 lines
124 B
Go
package models
|
|
|
|
import "github.com/matoous/go-nanoid/v2"
|
|
|
|
func NewNanoID() string {
|
|
id, _ := gonanoid.New(12)
|
|
return id
|
|
}
|