Skip to content

Commit

Permalink
docs: clean up documentation in doc.go
Browse files Browse the repository at this point in the history
- Remove an empty comment line from `doc.go`

Signed-off-by: appleboy <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed May 12, 2024
1 parent 0224ebf commit 7034b7d
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions doc.go
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

0 comments on commit 7034b7d

Please sign in to comment.