diff options
author | Bryan McNulty <bryanmcnulty@protonmail.com> | 2025-04-26 05:18:48 -0500 |
---|---|---|
committer | Bryan McNulty <bryanmcnulty@protonmail.com> | 2025-04-26 05:18:48 -0500 |
commit | 7770ce5c15dff99c1100f9fe6e41c502a94cd713 (patch) | |
tree | 3aef1a4d027cecece4fc833af0777357334929e3 /pkg | |
parent | 00205e02bd1768254e5ee2519cf7027cbcab5ee6 (diff) | |
download | goexec-7770ce5c15dff99c1100f9fe6e41c502a94cd713.tar.gz goexec-7770ce5c15dff99c1100f9fe6e41c502a94cd713.zip |
Fixed some more linter issues
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/goexec/dce/client.go | 3 | ||||
-rw-r--r-- | pkg/goexec/tsch/tsch.go | 3 |
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 { |