go fmt
This commit is contained in:
parent
b766cb4ac5
commit
6a63d49823
7 changed files with 21 additions and 21 deletions
|
|
@ -2,9 +2,9 @@ package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"encoding/json"
|
|
||||||
"encoding/base64"
|
|
||||||
"compress/gzip"
|
"compress/gzip"
|
||||||
|
"encoding/base64"
|
||||||
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nkanaev/yarr/storage"
|
"github.com/nkanaev/yarr/storage"
|
||||||
"html"
|
"html"
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@ package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"net/http"
|
|
||||||
"log"
|
"log"
|
||||||
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
func writeJSON(rw http.ResponseWriter, data interface{}) {
|
func writeJSON(rw http.ResponseWriter, data interface{}) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue