diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-05 23:53:01 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-05 23:53:01 +0200 |
| commit | acd91c7c11658360e0540f9d550f1fe0da167109 (patch) | |
| tree | 2117c92bb17a1ffa3da8a09f93e614976c2fc375 /internal/event | |
| parent | f6135befedb7da8603ecff2c59b155effd0183db (diff) | |
Normalize Go import grouping with local ior section
Diffstat (limited to 'internal/event')
| -rw-r--r-- | internal/event/event.go | 3 | ||||
| -rw-r--r-- | internal/event/pair.go | 5 | ||||
| -rw-r--r-- | internal/event/pair_test.go | 3 |
3 files changed, 7 insertions, 4 deletions
diff --git a/internal/event/event.go b/internal/event/event.go index 165ffe3..7ec76c3 100644 --- a/internal/event/event.go +++ b/internal/event/event.go @@ -1,8 +1,9 @@ package event import ( - . "ior/internal/types" "sync" + + . "ior/internal/types" ) var poolOfEventPairs = sync.Pool{ diff --git a/internal/event/pair.go b/internal/event/pair.go index 1d1e9ce..4ad4d4f 100644 --- a/internal/event/pair.go +++ b/internal/event/pair.go @@ -2,10 +2,11 @@ package event import ( "fmt" - "ior/internal/file" - "ior/internal/types" "strconv" "strings" + + "ior/internal/file" + "ior/internal/types" ) // Pair represents a matched syscall enter/exit pair together with derived metadata. diff --git a/internal/event/pair_test.go b/internal/event/pair_test.go index a1cb8ab..43e9945 100644 --- a/internal/event/pair_test.go +++ b/internal/event/pair_test.go @@ -1,8 +1,9 @@ package event import ( - "ior/internal/types" "testing" + + "ior/internal/types" ) func TestPairCalculateDurationsFirstEvent(t *testing.T) { |
