Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
68a00794
Commit
68a00794
authored
Feb 01, 2015
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(eventlog) add Pair method
parent
29682216
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
thirdparty/eventlog/loggable.go
thirdparty/eventlog/loggable.go
+6
-0
No files found.
thirdparty/eventlog/loggable.go
View file @
68a00794
...
...
@@ -26,3 +26,9 @@ func Deferred(key string, f func() string) Loggable {
}
return
LoggableF
(
function
)
}
func
Pair
(
key
string
,
l
Loggable
)
Loggable
{
return
LoggableMap
{
key
:
l
,
}
}
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