Add codespell job (#1281)

add codespell workflow and fixed spelling issues
This commit is contained in:
Maycon Santos
2023-11-07 13:37:57 +01:00
committed by GitHub
parent 125a7a9daf
commit b726b3262d
15 changed files with 42 additions and 28 deletions

View File

@ -262,7 +262,7 @@ func (s *SharedSocket) ReadFrom(b []byte) (n int, addr net.Addr, err error) {
return int(udp.Length), remoteAddr, nil
}
// WriteTo builds a UDP packet and writes it using the specific IP version writter
// WriteTo builds a UDP packet and writes it using the specific IP version writer
func (s *SharedSocket) WriteTo(buf []byte, rAddr net.Addr) (n int, err error) {
rUDPAddr, ok := rAddr.(*net.UDPAddr)
if !ok {