mirror of
https://github.com/gogs/gogs.git
synced 2025-12-20 23:30:00 +01:00
Enable Go modules (#5835)
* Remove vendor * Enable Go modules * ci: add command to fetch dependencies * ci: update setting * ci: update settings * Require Go 1.11 * Rename module name to gogs.io/gogs
This commit is contained in:
@@ -11,11 +11,11 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/Unknwon/com"
|
||||
"github.com/unknwon/com"
|
||||
"golang.org/x/net/html"
|
||||
|
||||
"github.com/gogs/gogs/pkg/setting"
|
||||
"github.com/gogs/gogs/pkg/tool"
|
||||
"gogs.io/gogs/pkg/setting"
|
||||
"gogs.io/gogs/pkg/tool"
|
||||
)
|
||||
|
||||
// IsReadmeFile reports whether name looks like a README file based on its extension.
|
||||
|
||||
Reference in New Issue
Block a user