Advanced Go (Golang)
Q90 / 100

What is Go's internal package mechanism?

Correct! Well done.

Incorrect.

The correct answer is B) A directory named "internal" whose packages can only be imported by code within the parent of the internal directory

B

Correct Answer

A directory named "internal" whose packages can only be imported by code within the parent of the internal directory

Explanation

myproject/internal/auth can only be imported by packages within myproject/. External packages get a compile-time error, enforcing package privacy without module boundaries.

Progress
90/100