Changing how we live by deep convergence of telephony, video, messaging, collaborative services, geospatial awareness, accessibility, smart agents, and facility automation.
Yes, you are correct. As go docs:
Go versions 1.16 and earlier used a different syntax for build constraints, with a "// +build" prefix. The gofmt command will add an equivalent //go:build constraint when encountering the older syntax.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Isn't build constraints now defined with //go:build?
Yes, you are correct.
As go docs:Go versions 1.16 and earlier used a different syntax for build constraints, with a "// +build" prefix. The gofmt command will add an equivalent //go:build constraint when encountering the older syntax.