go fmt
This commit is contained in:
parent
33beca15da
commit
ed487651c3
@ -3,6 +3,8 @@ package tilerenderer
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/sirupsen/logrus"
|
||||
"image"
|
||||
"image/draw"
|
||||
"image/png"
|
||||
@ -14,8 +16,6 @@ import (
|
||||
"mapserver/tiledb"
|
||||
"strconv"
|
||||
"time"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
)
|
||||
|
||||
type TileRenderer struct {
|
||||
@ -72,7 +72,7 @@ const (
|
||||
SUB_IMG_SIZE = IMG_SIZE >> 1
|
||||
)
|
||||
|
||||
func (tr *TileRenderer) Render(tc *coords.TileCoords) (error) {
|
||||
func (tr *TileRenderer) Render(tc *coords.TileCoords) error {
|
||||
//No tile in db
|
||||
_, err := tr.renderImage(tc, 2)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user