You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2021/04/16 00:12:04 UTC
[plc4x] branch develop updated: plc4go: missing parts for 0938a6e8
This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
The following commit(s) were added to refs/heads/develop by this push:
new 5e38006 plc4go: missing parts for 0938a6e8
5e38006 is described below
commit 5e3800698a0aae0c1b02437355db67dee7698e1f
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Apr 16 02:11:31 2021 +0200
plc4go: missing parts for 0938a6e8
---
.../src/main/resources/templates/go/data-io-template.go.ftlh | 1 +
.../src/main/resources/templates/go/parser-factory-template.go.ftlh | 1 +
.../src/main/resources/templates/go/xml-parser-factory-template.go.ftlh | 1 +
go.mod | 2 +-
go.sum | 2 ++
5 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/build-utils/language-go/src/main/resources/templates/go/data-io-template.go.ftlh b/build-utils/language-go/src/main/resources/templates/go/data-io-template.go.ftlh
index ab36bcb..cca6f74 100644
--- a/build-utils/language-go/src/main/resources/templates/go/data-io-template.go.ftlh
+++ b/build-utils/language-go/src/main/resources/templates/go/data-io-template.go.ftlh
@@ -60,6 +60,7 @@ ${helper.fileName(protocolName, languageName, outputFlavor)?replace(".", "/")}/m
// specific language governing permissions and limitations
// under the License.
//
+
package model
<#macro importSectionWithContentBelow>
diff --git a/build-utils/language-go/src/main/resources/templates/go/parser-factory-template.go.ftlh b/build-utils/language-go/src/main/resources/templates/go/parser-factory-template.go.ftlh
index 84a5d1a..f1689b9 100644
--- a/build-utils/language-go/src/main/resources/templates/go/parser-factory-template.go.ftlh
+++ b/build-utils/language-go/src/main/resources/templates/go/parser-factory-template.go.ftlh
@@ -60,6 +60,7 @@ ${helper.fileName(protocolName, languageName, outputFlavor)?replace(".", "/")}/P
// specific language governing permissions and limitations
// under the License.
//
+
package ${outputFlavor?replace("-","")}
import (
diff --git a/build-utils/language-go/src/main/resources/templates/go/xml-parser-factory-template.go.ftlh b/build-utils/language-go/src/main/resources/templates/go/xml-parser-factory-template.go.ftlh
index 54781a2..39639e7 100644
--- a/build-utils/language-go/src/main/resources/templates/go/xml-parser-factory-template.go.ftlh
+++ b/build-utils/language-go/src/main/resources/templates/go/xml-parser-factory-template.go.ftlh
@@ -60,6 +60,7 @@ ${helper.fileName(protocolName, languageName, outputFlavor)?replace(".", "/")}/X
// specific language governing permissions and limitations
// under the License.
//
+
package ${outputFlavor?replace("-","")}
import (
diff --git a/go.mod b/go.mod
index c81a6c8..ca6c9e5 100644
--- a/go.mod
+++ b/go.mod
@@ -21,6 +21,6 @@ module github.com/apache/plc4x
go 1.15
require (
- github.com/apache/plc4x/plc4go v0.0.0-20210415154847-2b89544ab285 // indirect
+ github.com/apache/plc4x/plc4go v0.0.0-20210415205512-e5ba2ed9be60 // indirect
github.com/sirupsen/logrus v1.7.0 // indirect
)
diff --git a/go.sum b/go.sum
index bd96439..816d62d 100644
--- a/go.sum
+++ b/go.sum
@@ -66,6 +66,8 @@ github.com/apache/plc4x/plc4go v0.0.0-20210415110959-a3286c557e58 h1:2xwfhviaiXn
github.com/apache/plc4x/plc4go v0.0.0-20210415110959-a3286c557e58/go.mod h1:NfO8uGKPGwDxn1GqOb4oNhAtPF7St1A9LRk1J/qSlWU=
github.com/apache/plc4x/plc4go v0.0.0-20210415154847-2b89544ab285 h1:ZRWXCGadVp3Qbrf7Jc8VeRU6MZjIN5Q6UDpfK+m0vNM=
github.com/apache/plc4x/plc4go v0.0.0-20210415154847-2b89544ab285/go.mod h1:NfO8uGKPGwDxn1GqOb4oNhAtPF7St1A9LRk1J/qSlWU=
+github.com/apache/plc4x/plc4go v0.0.0-20210415205512-e5ba2ed9be60 h1:dH2buIJhP5G43pxM+8zexAErrgUrGFFGDTkJGT3jklk=
+github.com/apache/plc4x/plc4go v0.0.0-20210415205512-e5ba2ed9be60/go.mod h1:NfO8uGKPGwDxn1GqOb4oNhAtPF7St1A9LRk1J/qSlWU=
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dnephin/pflag v1.0.7/go.mod h1:uxE91IoWURlOiTUIA8Mq5ZZkAv3dPUfZNaT80Zm7OQE=