Skip to content

Commit

Permalink
codecgen: do not use 'codecgen' tag for the temp file.
Browse files Browse the repository at this point in the history
We already ensure that we generate a transient method name to call.
No need to use build tags to restrict it, as that requires each
codecgen user to pass the -rt codecgen flag when calling codecgen.

Resolves #60
  • Loading branch information
ugorji committed Apr 22, 2015
1 parent f1401fe commit bbad871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codec/codecgen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ func main() {
}
`

const genFrunPkgTmpl = `//+build codecgen
// const genFrunPkgTmpl = `//+build codecgen
const genFrunPkgTmpl = `
package {{ $.PackageName }}
import (
Expand Down

0 comments on commit bbad871

Please sign in to comment.