Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
a76650f9
Commit
a76650f9
authored
Jan 14, 2014
by
Klynton Jessup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update post-processor.html.markdown
Fixed some typos in the interface{} mentions.
parent
78aa2196
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
website/source/docs/extend/post-processor.html.markdown
website/source/docs/extend/post-processor.html.markdown
+2
-2
No files found.
website/source/docs/extend/post-processor.html.markdown
View file @
a76650f9
...
...
@@ -46,11 +46,11 @@ type PostProcessor interface {
The
`Configure`
method for each post-processor is called early in the
build process to configure the post-processor. The configuration is passed
in as a raw
`interface{
]
`
. The configure method is responsible for translating
in as a raw
`interface{
}
`
. The configure method is responsible for translating
this configuration into an internal structure, validating it, and returning
any errors.
For decoding the
`interface{
]
`
into a meaningful structure, the
For decoding the
`interface{
}
`
into a meaningful structure, the
[
mapstructure
](
https://github.com/mitchellh/mapstructure
)
library is
recommended. Mapstructure will take an
`interface{}`
and decode it into an
arbitrarily complex struct. If there are any errors, it generates very
...
...
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