Go stdlib package — net/mail. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Address.String()NeutralAddress.String() string
String formats the address as a valid RFC 5322 address.
.AddressParser.Parse()NeutralAddressParser.Parse(address string) (*Address, error)
Parse parses a single RFC 5322 address of the
.AddressParser.ParseList()NeutralAddressParser.ParseList(list string) ([]*Address, error)
ParseList parses the given string as a list of comma-separated addresses
.Header.AddressList()NeutralHeader.AddressList(key string) ([]*Address, error)
AddressList parses the named header field as a list of addresses.
.Header.Get()NeutralHeader.Get(key string) string
Get gets the first value associated with the given key.
.ParseAddress()NeutralParseAddress(address string) (*Address, error)
ParseAddress parses a single RFC 5322 address, e.g. "Barry Gibbs <bg@example.com>"
.ParseAddressList()NeutralParseAddressList(list string) ([]*Address, error)
ParseAddressList parses the given string as a list of addresses.
.ParseDate()NeutralParseDate(date string) (time.Time, error)
ParseDate parses an RFC 5322 date string.
.ReadMessage()NeutralReadMessage(r io.Reader) (*Message, error)
ReadMessage reads a message from r.
| FQN | Field | |
|---|---|---|
| net/mail | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # net/mail