Documentation
¶
Index ¶
Constants ¶
View Source
const ( ACTION_REGENERATE_SECTION = "regenerate_section" ACTION_REGENERATE_IMAGE = "regenerate_image" ACTION_CREATE_FINAL_POST = "create_final_post" ACTION_SAVE_DRAFT = "save_draft" ACTION_REGENERATE_PARAGRAPH = "regenerate_paragraph" ACTION_LOAD_POST = "load_post" ACTION_REGENERATE_SUMMARY = "regenerate_summary" ACTION_REGENERATE_METAS = "regenerate_metas" )
Variables ¶
This section is empty.
Functions ¶
func RecordFromJSON ¶
func RecordFromJSON(jsonStr string) (*blogai.RecordPost, error)
RecordFromJSON parses a JSON string into a blogai.RecordPost
Types ¶
type UiInterface ¶
type UiInterface interface {
shared.UiInterface
AiPostEditor(w http.ResponseWriter, r *http.Request)
}
UiInterface defines the ai post editor controller's UI interface
func UI ¶
func UI(config shared.UiConfig) UiInterface
UI creates a new ai post editor controller UI from the given config
Source Files
¶
Click to show internal directories.
Click to hide internal directories.