Add fiber http backend
This commit is contained in:
@@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"reflect"
|
||||
"regexp"
|
||||
"strings"
|
||||
@@ -40,6 +41,7 @@ func BuildWhereQuery(params interface{}) string {
|
||||
|
||||
var associationRe = regexp.MustCompile(`r:(\w+)(?:\(([^)]+)\))?`)
|
||||
func ParseNote(data string) (NoteData, error) {
|
||||
log.Printf("Parsing note: %q", data)
|
||||
res := NoteData{}
|
||||
lines := strings.Split(data, "\n")
|
||||
note := []string{}
|
||||
|
Reference in New Issue
Block a user