Documentation
¶
Index ¶
- func Ago(t time.Time) string
- func ExtractChannelIDAndTimestamp(url string) (channelID, timestamp string, err error)
- func GetChannelIDByName(ctx context.Context, tx boil.ContextTransactor, name string) (string, error)
- func MessageReplacer() *strings.Replacer
- func UserNameReplacer(users []*models.User) *strings.Replacer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractChannelIDAndTimestamp ¶ added in v0.2.0
ExtractChannelIDAndTimestamp extracts channel id and timestamp from URL. The timestamp is a very long integer, not a dot separated UNIX timestamp.
func GetChannelIDByName ¶ added in v0.2.0
func MessageReplacer ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.