mcandre / toys

code demos for newbies
https://github.com/mcandre/toys
30 stars 6 forks source link

remove redundant Go build tags #368

Closed mcandre closed 8 months ago

mcandre commented 1 year ago

E.g.:

//go:build mage
// +build mage

Need to find out which one of these is legacy vs which one is modern.

mcandre commented 8 months ago

As Jetbrains explains, the // +build... syntax is the old one.

https://www.jetbrains.com/help/go/configuring-build-constraints-and-vendoring.html#build-constraints