diff --git a/USERGUIDE.md b/USERGUIDE.md index 812de90..c8e2ccb 100644 --- a/USERGUIDE.md +++ b/USERGUIDE.md @@ -35,9 +35,10 @@ func (ts *TaskSchema) GetTitle(ctx context.Context, model *model.TaskModel) stri return "Task Title" } -func (ts *TaskSchema) GetDescription(model *model.TaskModel) string { +func (ts *TaskSchema) GetDescription(model *model.TaskModel) (string, error) { // Here we ignore the first context param. - return "Custom description" + // If method returns an error, portal will ignore the result. + return "Custom description", nil } ```