Correct Answer: Use a replace directive in go.mod.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Go (Programming Language) Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Go (Programming Language) MCQ Questions
If your current working directory is the top level of your project, which command will run all its test packages?
Which encodings can you put in a string?
How is the behavior of t.Fatal different inside a t.Run?
What does log.Fatal do?
Which is a valid Go time format literal?
What restriction is there on the type of var to compile this i := myVal.(int)?
What is the select statement used for?
What is a side effect of using time.After in a select statement?
What is an idiomatic way to pause execution of the current scope until an arbitrary number of goroutines have returned?
What does a sync.Mutex block while it is locked?