You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
340 B

package sriracha
// ExtensionPost defines the interface for extensions that handle creating a post.
type ExtensionPost interface {
// Post is called when a new post is created. Extensions may modify the
// post and apply formatting or other operations on it. All text is
// initially HTML-escaped.
Post(post *Post) error