Install • Get Started • Changelog • Contributing • License
go get github.com/edoardottt/defango
package main
import (
"fmt"
"log"
"github.com/edoardottt/defango"
)
func main() {
fmt.Println(defango.IP("8.8.8.8:53"))
u, err := defango.URL("http://malicious.example.link.com:666/m4lw4r3.exe")
if err != nil {
log.Fatal(err)
}
fmt.Println(u)
fmt.Println(defango.Email("mailto:edoardott@gmail.com"))
}
Read the full package documentation here
.
Detailed changes for each release are documented in the release notes.
Just open an issue / pull request.
Before opening a pull request, download golangci-lint and run
golangci-lint run
If there aren't errors, go ahead :)
This repository is under MIT License.
edoardoottavianelli.it to contact me.