golangbridge.org | GoBridge public Website | Static Site Generator library
kandi X-RAY | golangbridge.org Summary
kandi X-RAY | golangbridge.org Summary
This repository contains the source files for GoBridge's Hugo powered website. Please see the instructions.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of golangbridge.org
golangbridge.org Key Features
golangbridge.org Examples and Code Snippets
Community Discussions
Trending Discussions on golangbridge.org
QUESTION
I have installed the go language in my ubuntu using sudo apt install golang-go
.
It was successfully installed. When i run go version
I am getting go version go1.10.4 linux/amd64
but when i tried running go mod init projectName
I am getting the following error go: unknown subcommand "mod"
Do I need to install mod package or am i missing something? I have implemented the solution given by christophe in this forum but it didn't work for me.
...ANSWER
Answered 2020-Feb-26 at 09:36Preliminary module support was added in Go 1.11, so Go 1.10 knows no mod
subcommand.
You need to install a newer, preferably the newest 1.14 version of Go. Get it from the official downloads page. Go 1.10 is not even supported anymore (doesn't receive security patches).
The prepared packages of OSes usually lag behind new releases. I'd advise to always get Go from the official page.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install golangbridge.org
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page