Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
6b724502
Commit
6b724502
authored
Feb 16, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e122e44d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
go/internal/task/task.go
go/internal/task/task.go
+2
-10
No files found.
go/internal/task/task.go
View file @
6b724502
...
...
@@ -58,16 +58,8 @@ func running(ctxp *context.Context, name string) func(*error) {
}
/*
// RunningNoErrCtx is like Running but does not adjust error return with task prefix.
func RunningNoErrCtx(ctxp *context.Context, name string) func(*error) {
// XXX
}
// RunningfNoErrCtx is RunningNoErrCtx with formatting support.
func RunningfNoErrCtx(ctxp *context.Context, format string, argv ...interface{}) func(*error) {
}
*/
// XXX merge TraceBegin+TraceEnd into just -> `defer Trace(ctx)(&err)` ?
// (can log return lineno more precisely)
// TraceBegin traces beginning of a task.
func
TraceBegin
(
ctx
context
.
Context
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment