commit | 7fa27890a70fec137fabd7d75e4976d08f60ebf3 | [log] [tgz] |
---|---|---|
author | Jamie Hannaford <jamie.hannaford@rackspace.com> | Fri Nov 07 15:11:20 2014 +0100 |
committer | Jamie Hannaford <jamie.hannaford@rackspace.com> | Fri Nov 07 15:11:20 2014 +0100 |
tree | 6278d52d5a493da23a5dba2d29d0f7d29eddf1e4 | |
parent | b65793fcecaf59fae332ba872564e0dfdad07d17 [diff] |
Touching up docs
diff --git a/params.go b/params.go index 77ae40d..0fcc1f0 100644 --- a/params.go +++ b/params.go
@@ -23,6 +23,12 @@ Disabled EnabledState = &iFalse ) +// IntToPointer is a function for converting integers into integer pointers. +// This is useful when passing in options to operations. +func IntToPointer(i int) *int { + return &i +} + /* MaybeString is an internal function to be used by request methods in individual resource packages.