Skip to content

Commit

Permalink
Added file extension for exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
mittsh committed Dec 18, 2014
1 parent 6e66138 commit 561622f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions GoHTTPCodeGenerator.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ GoHTTPCodeGenerator = ->
}

multipart_body = request.multipartBody
if multipart_body
if multipart_body
return {
"has_multipart_body":true
"multipart_body": ({
Expand Down Expand Up @@ -110,8 +110,9 @@ GoHTTPCodeGenerator = ->


GoHTTPCodeGenerator.identifier =
"com.luckymarmot.PawExtensions.GoHTTPCodeGenerator";
"com.luckymarmot.PawExtensions.GoHTTPCodeGenerator"
GoHTTPCodeGenerator.title =
"Go (HTTP)";
"Go (HTTP)"
GoHTTPCodeGenerator.fileExtension = "go"

registerCodeGenerator GoHTTPCodeGenerator

0 comments on commit 561622f

Please sign in to comment.