hello_gomail
May 6, 2026 ยท View on GitHub
A minimal example showing how to use the gomail library.
Install
go get github.com/muquit/gomail@latest
go mod tidy
Build and Run
make # fmt, vet, build
make run # run with go run
make clean # remove binary
Example
package main
import (
"fmt"
gomail "github.com/muquit/gomail"
)
func main() {
fmt.Printf("gomail version: %s\n", gomail.Version)
}
Output
gomail version: v1.0.2
Authors
- Created with assistance from Claude AI Sonnet 4.6 by muquit
Real World Example
mailsend-go is a command-line tool that uses this library to send emails.