From d05395fe906dad7741201faa69a54fef538deda9 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 4 Apr 2017 19:29:59 -0400 Subject: Refactoring: rename modules -> pkg Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory --- models/webhook_discord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/webhook_discord.go') diff --git a/models/webhook_discord.go b/models/webhook_discord.go index e403399a..e452043c 100644 --- a/models/webhook_discord.go +++ b/models/webhook_discord.go @@ -13,7 +13,7 @@ import ( "github.com/gogits/git-module" api "github.com/gogits/go-gogs-client" - "github.com/gogits/gogs/modules/setting" + "github.com/gogits/gogs/pkg/setting" ) type DiscordEmbedFooterObject struct { -- cgit v1.2.3