The Go programming language often uses the underscore (_) as a placeholder for various purposes, but using it as a field within a struct is less common.
Adding an underscore (_) field in a struct enforces named field initialization, preventing the use of positional initialization.
Positional initialization with an underscore (_) field will result in compilation errors due to too few values or implicit assignment to an unexported field.
By using named field initialization, code readability improves, error prevention increases, and struct initialization becomes more explicit in Go programming.