Acn Go Types Parsing

Go type safety, standard library type preferences, and the 'parse don't validate' principle. Use when handling IP addresses, MAC addresses, network types, or any string-typed domain data. Trigger on net.IP usage (prefer netip.Addr), string MAC addresses (prefer net.HardwareAddr), stringly-typed variables that should be custom types, or reflect.DeepEqual where == suffices. Also trigger on 'parse don't validate' discussions or type conversion at boundaries.

Azure Updated

File contents

azure/azure-container-networking/tree/main/.github/skills/acn-go-types-parsing commit fd52c1d2f9

Frequently asked questions

npx skillmds@latest add azure/acn-go-types-parsing