-
Notifications
You must be signed in to change notification settings - Fork 1
Rewrite alpha-0.12.0 #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
全コードの書き直し
_, file, line, ok := runtime.Caller(1) | ||
if ok { | ||
caller := fmt.Sprintf("@%s:%d: ", file, line) | ||
logger.Debug(fmt.Sprintf(caller+format, args...)) |
Check failure
Code scanning / CodeQL
Log entries created from user input
caller := fmt.Sprintf("@%s:%d: ", file, line) | ||
logger.Debug(fmt.Sprintf(caller+format, args...)) | ||
} else { | ||
logger.Debug(fmt.Sprintf(format, args...)) |
Check failure
Code scanning / CodeQL
Log entries created from user input
_, file, line, ok := runtime.Caller(1) | ||
if ok { | ||
caller := fmt.Sprintf("@%s:%d: ", file, line) | ||
logger.Info(fmt.Sprintf(caller+format, args...)) |
Check failure
Code scanning / CodeQL
Log entries created from user input
caller := fmt.Sprintf("@%s:%d: ", file, line) | ||
logger.Info(fmt.Sprintf(caller+format, args...)) | ||
} else { | ||
logger.Info(fmt.Sprintf(format, args...)) |
Check failure
Code scanning / CodeQL
Log entries created from user input
_, file, line, ok := runtime.Caller(1) | ||
if ok { | ||
caller := fmt.Sprintf("@%s:%d: ", file, line) | ||
logger.Warn(fmt.Sprintf(caller+format, args...)) |
Check failure
Code scanning / CodeQL
Log entries created from user input
caller := fmt.Sprintf("@%s:%d: ", file, line) | ||
logger.Warn(fmt.Sprintf(caller+format, args...)) | ||
} else { | ||
logger.Warn(fmt.Sprintf(format, args...)) |
Check failure
Code scanning / CodeQL
Log entries created from user input
_, file, line, ok := runtime.Caller(1) | ||
if ok { | ||
caller := fmt.Sprintf("@%s:%d: ", file, line) | ||
logger.Error(fmt.Sprintf(caller+format, args...)) |
Check failure
Code scanning / CodeQL
Log entries created from user input
caller := fmt.Sprintf("@%s:%d: ", file, line) | ||
logger.Error(fmt.Sprintf(caller+format, args...)) | ||
} else { | ||
logger.Error(fmt.Sprintf(format, args...)) |
Check failure
Code scanning / CodeQL
Log entries created from user input
データベース、キャッシュライブラリに変更 エンドポイントを追加
No description provided.