add minimum support for primitive library

use primitive library to draw simplified version of image with basic
shapes.
This commit is contained in:
Will Norris 2019-10-13 19:42:55 -07:00
parent 95bcf70004
commit 0d5d8aa202
4 changed files with 48 additions and 1 deletions

3
go.mod
View file

@ -11,6 +11,9 @@ require (
github.com/disintegration/imaging v1.6.2
github.com/dnaeon/go-vcr v1.0.1 // indirect
github.com/fcjr/aia-transport-go v1.2.2
github.com/fogleman/gg v1.3.0 // indirect
github.com/fogleman/primitive v0.0.0-20190214200932-673f57e7b1b5
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/gomodule/redigo v2.0.0+incompatible
github.com/gorilla/mux v1.8.0
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79