Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about go-build

Read more about go-build

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - go-build

What does this command do 'GOFLAGS=-mod=mod'?

I am trying to make a Taskfile.yml file for building go application, but I can't quite understand the need of "GOFLAGS=-mod=mod" command before go build main.go. reference: https://dev.to/au...
test-img

Harshit Kumar

go

yaml

backend

go-cobra

go-build

Votes: 0

Answers: 1

Latest Answer

So there are two things here GOFLAGS this is nothing but an environment variable(if you don't understand what an environment variable is, think of it like a value that can be accessed by any process...
test-img

Aswin Thiyagarajan

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved