mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-14 20:32:54 +00:00
chore: Move import path from code.gitea.io/gitea to gitea.dev (#37873)
This commit is contained in:
@@ -164,7 +164,7 @@ func EventFormatTextMessage(mode *WriterMode, event *Event, msgFormat string, ms
|
||||
funcName := event.Caller
|
||||
shortFuncName := funcName
|
||||
if flags&Lshortfuncname != 0 {
|
||||
// funcName = "code.gitea.io/gitea/modules/foo/bar.MyFunc.func1.2()"
|
||||
// funcName = "gitea.dev/modules/foo/bar.MyFunc.func1.2()"
|
||||
slashPos := strings.LastIndexByte(funcName, '/')
|
||||
dotPos := strings.IndexByte(funcName[slashPos+1:], '.')
|
||||
if dotPos > 0 {
|
||||
|
||||
Reference in New Issue
Block a user