aboutsummaryrefslogtreecommitdiff
path: root/statement.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-06-20 23:21:48 +0700
committerShulhan <ms@kilabit.info>2022-06-20 23:21:48 +0700
commit3a98bd42405185ac9150426e7fe5d97a3d7dc93b (patch)
treecdad9f8b1da4ae065256505529c14f49e6d21ac6 /statement.go
parent8b17fc3d05871eda440cd04df4e8124b394a18e5 (diff)
downloadawwan-3a98bd42405185ac9150426e7fe5d97a3d7dc93b.tar.xz
all: reformat all go files using the next gofmt
Diffstat (limited to 'statement.go')
-rw-r--r--statement.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/statement.go b/statement.go
index 5b0f4e3..3da8e71 100644
--- a/statement.go
+++ b/statement.go
@@ -21,9 +21,7 @@ const (
statementKindSudoPut
)
-//
// Statetement contains parsed raw line from the script.
-//
type Statement struct {
kind int
cmd string
@@ -31,10 +29,8 @@ type Statement struct {
raw []byte
}
-//
// ParseStatement create and initialize new Statement from raw line.
// It will return nil if raw line is empty.
-//
func ParseStatement(raw []byte) (stmt *Statement, err error) {
logp := "ParseStatement"