go fmt
This commit is contained in:
parent
3e4c36c4c9
commit
8167230c09
4 changed files with 15 additions and 15 deletions
|
@ -4,8 +4,8 @@
|
|||
package draw2dbase
|
||||
|
||||
import (
|
||||
"math"
|
||||
"errors"
|
||||
"math"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
package draw2dimg
|
||||
|
||||
import (
|
||||
"image"
|
||||
"image/color"
|
||||
"fmt"
|
||||
"testing"
|
||||
"github.com/golang/freetype/truetype"
|
||||
"github.com/llgcode/draw2d"
|
||||
"github.com/llgcode/draw2d/draw2dkit"
|
||||
"github.com/golang/freetype/truetype"
|
||||
"golang.org/x/image/font/gofont/goregular"
|
||||
"image"
|
||||
"image/color"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// font generated from icomoon.io and converted to go byte slice
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
|
||||
func TestSync(t *testing.T) {
|
||||
ch := make(chan int)
|
||||
limit := 2000
|
||||
limit := 2
|
||||
for i := 0; i < limit; i++ {
|
||||
go Draw(i, ch)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue