sasha
(Alexander Dardik)
May 15, 2020, 12:19pm
1
Hi all,
I have a problem of importing the following
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
lutzhorn
(Lutz Horn)
May 15, 2020, 1:10pm
2
What problem do you have? What does not work? Do you get an error? Which?
sasha
(Alexander Dardik)
May 15, 2020, 2:25pm
3
The compiler gives this message: *
no package for import The Go Programming Language )compiler
sasha
(Alexander Dardik)
May 15, 2020, 4:04pm
4
Hi,
please, don’t put attention to my previous reply, I made a mistake.
The compiler says golang.org/x/text/encoding/charmap -no package to import.
Thanks in advance
lutzhorn
(Lutz Horn)
May 15, 2020, 8:21pm
5
The documentation tells us to
import "import "golang.org/x/text/encoding/charmap" "
The go
command downloads and installs a module:
$ go get import "golang.org/x/text/encoding/charmap"
sasha
(Alexander Dardik)
May 17, 2020, 10:34am
6
Hi,
Thank you very much for the help, everything works well!!!
system
(system)
Closed
August 15, 2020, 10:37am
7
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.