The tls package handles common uses cases around TLS certificates.
package main
import (
"log"
"github.com/rddl-network/go-utils/tls"
)
func main() {
_, err := tls.Get2WayTLSClient("./certs/")
if err != nil {
log.Fatalln(err)
}
}