aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorBryan McNulty <bryanmcnulty@protonmail.com>2025-04-26 05:18:48 -0500
committerBryan McNulty <bryanmcnulty@protonmail.com>2025-04-26 05:18:48 -0500
commit7770ce5c15dff99c1100f9fe6e41c502a94cd713 (patch)
tree3aef1a4d027cecece4fc833af0777357334929e3 /pkg
parent00205e02bd1768254e5ee2519cf7027cbcab5ee6 (diff)
downloadgoexec-7770ce5c15dff99c1100f9fe6e41c502a94cd713.tar.gz
goexec-7770ce5c15dff99c1100f9fe6e41c502a94cd713.zip
Fixed some more linter issues
Diffstat (limited to 'pkg')
-rw-r--r--pkg/goexec/dce/client.go3
-rw-r--r--pkg/goexec/tsch/tsch.go3
2 files changed, 4 insertions, 2 deletions
diff --git a/pkg/goexec/dce/client.go b/pkg/goexec/dce/client.go
index 0918933..567d619 100644
--- a/pkg/goexec/dce/client.go
+++ b/pkg/goexec/dce/client.go
@@ -13,8 +13,7 @@ import (
type Client struct {
Options
- conn dcerpc.Conn
- hostname string
+ conn dcerpc.Conn
}
func (c *Client) String() string {
diff --git a/pkg/goexec/tsch/tsch.go b/pkg/goexec/tsch/tsch.go
index ae65ca7..3cbcb2c 100644
--- a/pkg/goexec/tsch/tsch.go
+++ b/pkg/goexec/tsch/tsch.go
@@ -92,6 +92,8 @@ type simpleTask struct {
Settings taskSettings `xml:"Settings"`
}
+/*
+
// newSettings just creates a taskSettings instance with the necessary values + a few dynamic ones
func newSettings(terminate, onDemand, startWhenAvailable bool) *taskSettings {
return &taskSettings{
@@ -140,6 +142,7 @@ func newTask(se *taskSettings, pr []taskPrincipal, tr taskTriggers, cmd, args st
},
}
}
+*/
// xmlDuration is a *very* simple implementation of xs:duration - only accepts +seconds
func xmlDuration(dur time.Duration) string {