fogleman / gg

Go Graphics - 2D rendering in Go with a simple API.
https://godoc.org/github.com/fogleman/gg
MIT License
4.37k stars 354 forks source link

can't import the golang.org/x/text/encoding/charmap package #99

Open kiba1210 opened 4 years ago

kiba1210 commented 4 years ago

Hi,

I have installed gg code. The installation went well but, there was one problem in file cmap.go. it complains that it can't import the golang.org/x/text/encoding/charmap package. Then, i have looked at the golang.org and the package is there. Is it possible to help me with that? I am using windows 10 and developing with VS Code.

Thanks in advance

HeCorr commented 3 years ago

hello! which version of Golang are you running?

run go version in the terminal to check it.

if it's an old version, please try updating to a newer one and see if the issue is fixed.

(posting the full error message here could be useful too ;) )