Skip to content

Commit

Permalink
Use new build flag go:build
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Imperiale <[email protected]>
  • Loading branch information
manuio committed Jan 13, 2022
1 parent f439983 commit 24e8cf5
Show file tree
Hide file tree
Showing 26 changed files with 55 additions and 0 deletions.
2 changes: 2 additions & 0 deletions auth/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions bootstrap/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions bootstrap/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions certs/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions certs/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions coap/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions coap/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions consumers/notifiers/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions consumers/notifiers/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions consumers/writers/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions consumers/writers/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions http/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions http/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions lora/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions lora/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions opcua/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions opcua/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
5 changes: 5 additions & 0 deletions provision/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions readers/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions readers/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions things/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions things/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions twins/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions twins/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions users/api/logging.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down
2 changes: 2 additions & 0 deletions users/api/metrics.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

//go:build !test

package api

import (
Expand Down

0 comments on commit 24e8cf5

Please sign in to comment.