Skip to content

Commit 8b6a17f

Browse files
committed
chore(license): add copyright header to all Go source files
1 parent 66ca59a commit 8b6a17f

File tree

22 files changed

+22
-11
lines changed

22 files changed

+22
-11
lines changed

cmd/job-queue-system/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2025 James Ross
12
package main
23

34
import (

internal/admin/admin.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2025 James Ross
12
package admin
23

34
import (

internal/breaker/breaker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2025 James Ross
12
package breaker
23

34
import (
@@ -106,4 +107,3 @@ func (cb *CircuitBreaker) Record(ok bool) {
106107
// handled in Allow()
107108
}
108109
}
109-

internal/breaker/breaker_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2025 James Ross
12
package breaker
23

34
import (
@@ -18,4 +19,3 @@ func TestBreakerTransitions(t *testing.T) {
1819
cb.Record(true)
1920
if cb.State() != Closed { t.Fatal("expected closed after probe success") }
2021
}
21-

internal/config/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2025 James Ross
12
package config
23

34
import (

internal/config/config_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2025 James Ross
12
package config
23

34
import (

internal/obs/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2025 James Ross
12
package obs
23

34
import (
@@ -36,4 +37,3 @@ func StartHTTPServer(cfg *config.Config, readiness func(context.Context) error)
3637
go func() { _ = srv.ListenAndServe() }()
3738
return srv
3839
}
39-

internal/obs/logger.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2025 James Ross
12
package obs
23

34
import (
@@ -28,4 +29,3 @@ func String(k, v string) zap.Field { return zap.String(k, v) }
2829
func Int(k string, v int) zap.Field { return zap.Int(k, v) }
2930
func Bool(k string, v bool) zap.Field { return zap.Bool(k, v) }
3031
func Err(err error) zap.Field { return zap.Error(err) }
31-

internal/obs/metrics.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2025 James Ross
12
package obs
23

34
import (

internal/obs/queue_length.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Copyright 2025 James Ross
12
package obs
23

34
import (
@@ -38,4 +39,3 @@ func StartQueueLengthUpdater(ctx context.Context, cfg *config.Config, rdb *redis
3839
}
3940
}()
4041
}
41-

0 commit comments

Comments
 (0)