Skip to content

Commit

Permalink
Add license headers (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Apr 24, 2024
1 parent 21f6e94 commit 5c81948
Show file tree
Hide file tree
Showing 22 changed files with 70 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ linters-settings:
deny:
- pkg: "testing"
- pkg: "github.com/stretchr/testify"
goheader:
values:
const:
COMPANY: Splunk Inc.
template: |-
Copyright {{ COMPANY }}
SPDX-License-Identifier: Apache-2.0
govet:
disable:
- composites
Expand Down
3 changes: 3 additions & 0 deletions signalflow/client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package signalflow

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package signalflow

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/computation.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package signalflow

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/computation_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package signalflow

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/conn.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package signalflow

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

/*
Package signalflow contains a SignalFx SignalFlow client,
which can be used to execute analytics jobs against the SignalFx backend.
Expand Down
3 changes: 3 additions & 0 deletions signalflow/example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package signalflow_test

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/fake_backend.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package signalflow

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/fake_backend_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package signalflow

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/messages/binary.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package messages

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/messages/binary_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package messages

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/messages/control.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package messages

// The event types used in the control-message messages. This are not used for
Expand Down
3 changes: 3 additions & 0 deletions signalflow/messages/error.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package messages

type ErrorContext struct {
Expand Down
3 changes: 3 additions & 0 deletions signalflow/messages/event.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package messages

type EventMessage struct {
Expand Down
3 changes: 3 additions & 0 deletions signalflow/messages/info.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package messages

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/messages/json.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package messages

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/messages/metadata.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package messages

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/messages/types.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package messages

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/messages/types_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package messages

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/requests.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package signalflow

import (
Expand Down
3 changes: 3 additions & 0 deletions signalflow/requests_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright Splunk Inc.
// SPDX-License-Identifier: Apache-2.0

package signalflow

import (
Expand Down

0 comments on commit 5c81948

Please sign in to comment.