activity/streams/gen_pkg_toot_type_construct...

26 行
750 B
Go

// Code generated by astool. DO NOT EDIT.
package streams
import (
typeemoji "gitler.moe/suwako/activity/streams/impl/toot/type_emoji"
typehashtag "gitler.moe/suwako/activity/streams/impl/toot/type_hashtag"
typeidentityproof "gitler.moe/suwako/activity/streams/impl/toot/type_identityproof"
vocab "gitler.moe/suwako/activity/streams/vocab"
)
// NewTootEmoji creates a new TootEmoji
func NewTootEmoji() vocab.TootEmoji {
return typeemoji.NewTootEmoji()
}
// NewTootHashtag creates a new TootHashtag
func NewTootHashtag() vocab.TootHashtag {
return typehashtag.NewTootHashtag()
}
// NewTootIdentityProof creates a new TootIdentityProof
func NewTootIdentityProof() vocab.TootIdentityProof {
return typeidentityproof.NewTootIdentityProof()
}