-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: clean up documentation in
doc.go
- Remove an empty comment line from `doc.go` Signed-off-by: appleboy <appleboy.tw@gmail.com>
- Loading branch information
Showing
1 changed file
with
14 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |