Skip to content
Myr

not use dot when import package (#1077)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by 田欧 · committed by Bo-Yi Wu · parent bc53884 · Browse files · 1 file+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:ginS/gins.go+4 added-4 removed
7 unmodified lines
8 "html/template"9 "net/http"10 "sync"1112 . "github.com/gin-gonic/gin"12 "github.com/gin-gonic/gin"13)1415var once sync.Once16var internalEngine *Engine16var internalEngine *gin.Engine1718func engine() *Engine {18func engine() *gin.Engine {19 once.Do(func() {20 internalEngine = Default()20 internalEngine = gin.Default()21 })22 return internalEngine23}24
116 unmodified lines