jung-kurt / gofpdf

A PDF document generator with high level support for text, drawing and images
http://godoc.org/github.com/jung-kurt/gofpdf
MIT License
4.31k stars 777 forks source link

go get -v' returned a non-zero code: 2 #267

Closed tharun-d closed 5 years ago

tharun-d commented 5 years ago

../github.com/jung-kurt/gofpdf/utf8fontfile.go:854:19: undefined: math.Round ../github.com/jung-kurt/gofpdf/utf8fontfile.go:872:19: undefined: math.Round

I am getting error while running docker build where docker file has go get -v

jung-kurt commented 5 years ago

Have you reached any resolution on this? I am perplexed as to why a standard library function would not be defined.

tharun-d commented 5 years ago

oops sorry i defined as FROM golang:1.9.0 AS builder in my docker file this is issue. round is from 1.10 version