16 lines
265 B
Go
16 lines
265 B
Go
package database
|
|
|
|
import "github.com/oklog/ulid/v2"
|
|
|
|
// Blog is a blog, or Person in ActivityPub terms.
|
|
type Blog struct {
|
|
ID ulid.ULID
|
|
Name string
|
|
Domain *string
|
|
|
|
Bio string
|
|
|
|
AccountID ulid.ULID
|
|
}
|
|
|
|
func (b Blog) Remote() bool { return b.Domain != nil }
|