From 7034b7dd47deda4e6f6cd56f21d6a3eabb1cf81a Mon Sep 17 00:00:00 2001 From: appleboy Date: Sun, 12 May 2024 12:27:23 +0800 Subject: [PATCH] docs: clean up documentation in `doc.go` - Remove an empty comment line from `doc.go` Signed-off-by: appleboy --- doc.go | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/doc.go b/doc.go index ff81770..6c291e0 100644 --- a/doc.go +++ b/doc.go @@ -1,23 +1,22 @@ // Package autotls support Let's Encrypt for a Go server application. // -// package main +// package main // -// import ( -// "log" +// import ( +// "log" // -// "github.com/gin-gonic/autotls" -// "github.com/gin-gonic/gin" -// ) +// "github.com/gin-gonic/autotls" +// "github.com/gin-gonic/gin" +// ) // -// func main() { -// r := gin.Default() +// func main() { +// r := gin.Default() // -// // Ping handler -// r.GET("/ping", func(c *gin.Context) { -// c.String(200, "pong") -// }) -// -// log.Fatal(autotls.Run(r, "example1.com", "example2.com")) -// } +// // Ping handler +// r.GET("/ping", func(c *gin.Context) { +// c.String(200, "pong") +// }) // +// log.Fatal(autotls.Run(r, "example1.com", "example2.com")) +// } package autotls