Set org's document title and favicon.

This commit is contained in:
Yang Luo
2021-04-29 19:51:03 +08:00
parent cfe1eb9d50
commit 5779d57960
7 changed files with 68 additions and 5 deletions

View File

@ -16,6 +16,7 @@ package util
import (
"errors"
"fmt"
"strings"
"github.com/google/uuid"
@ -33,3 +34,7 @@ func GetOwnerAndNameFromId(id string) (string, string) {
func GenerateId() string {
return uuid.NewString()
}
func GetId(name string) string {
return fmt.Sprintf("admin/%s", name)
}