Quiz: Command-Line Program in Go Preface

Test your knowledge of Go's basic concepts.

1

What will this command do?

go mod init pragprog.com/counter
A)

It imports the counter library to your program.

B)

It initializes a new Go program.

C)

It modifies the Go module counter.

D)

It initializes a new Go module.

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.