Logo
Explore Help
Register Sign In
Nemcio/Gogs
1
0
Fork 0
You've already forked Gogs
mirror of https://github.com/gogs/gogs.git synced 2026-06-04 09:45:00 +02:00
Code Issues Packages Projects Releases Wiki Activity
Files
latest-commit-build
Gogs/internal/testx/testx.go

10 lines
212 B
Go
Raw Permalink Normal View History

all: rename packages ending with "util" to end with "x" (#8182) Co-authored-by: JSS <jss@unknwon.dev> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 13:25:19 -05:00
package testx
db: refactor "action" table to use GORM (#7054) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2022-06-25 18:07:39 +08:00
import (
"os"
"strings"
)
Fix typos throughout the codebase (#7514)
2026-01-30 23:03:05 -05:00
// InTest is true if the current binary looks like a test artifact.
db: refactor "action" table to use GORM (#7054) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2022-06-25 18:07:39 +08:00
var InTest = len(os.Args) > 0 && strings.HasSuffix(strings.TrimSuffix(os.Args[0], ".exe"), ".test")
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 109ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API