This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit d32e91af824ecf6eb4032405f3b0e2f8752a94cc
Author: Christofer Dutz <[email protected]>
AuthorDate: Sun Jan 24 12:52:06 2021 +0100

    - Fixed a wrong package name
---
 .../src/main/resources/templates/go/parser-factory-template.ftlh        | 2 +-
 .../src/main/resources/templates/go/xml-parser-factory-template.ftlh    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/build-utils/language-go/src/main/resources/templates/go/parser-factory-template.ftlh
 
b/build-utils/language-go/src/main/resources/templates/go/parser-factory-template.ftlh
index b5bb914..c764a90 100644
--- 
a/build-utils/language-go/src/main/resources/templates/go/parser-factory-template.ftlh
+++ 
b/build-utils/language-go/src/main/resources/templates/go/parser-factory-template.ftlh
@@ -60,7 +60,7 @@ ${helper.fileName(protocolName, languageName, 
outputFlavor)?replace(".", "/")}/P
 // specific language governing permissions and limitations
 // under the License.
 //
-package model
+package ${outputFlavor?replace("-","")}
 
 import (
     "errors"
diff --git 
a/build-utils/language-go/src/main/resources/templates/go/xml-parser-factory-template.ftlh
 
b/build-utils/language-go/src/main/resources/templates/go/xml-parser-factory-template.ftlh
index 873c89f..a67a1fa 100644
--- 
a/build-utils/language-go/src/main/resources/templates/go/xml-parser-factory-template.ftlh
+++ 
b/build-utils/language-go/src/main/resources/templates/go/xml-parser-factory-template.ftlh
@@ -60,7 +60,7 @@ ${helper.fileName(protocolName, languageName, 
outputFlavor)?replace(".", "/")}/X
 // specific language governing permissions and limitations
 // under the License.
 //
-package model
+package ${outputFlavor?replace("-","")}
 
 import (
     "encoding/xml"

Reply via email to