Skip to content

Commit

Permalink
Updated copyright note
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwenzel committed Aug 26, 2024
1 parent b1eb668 commit 76459f3
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 22 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Copyright © 2018 by PACE Telematics GmbH. All rights reserved.
# Created at 2018/08/24 by Vincent Landgraf
.PHONY: install test jsonapi build integration ci

JSONAPITEST=http/jsonapi/generator/internal
Expand Down
3 changes: 1 addition & 2 deletions grpc/middleware.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright © 2021 by PACE Telematics GmbH. All rights reserved.
// Created at 2021/12/10 by Julius Foitzik
// Copyright © 2021 by PACE Telematics GmbH. All rights reserved.

package grpc

Expand Down
3 changes: 1 addition & 2 deletions grpc/middleware_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright © 2021 by PACE Telematics GmbH. All rights reserved.
// Created at 2021/12/10 by Julius Foitzik
// Copyright © 2021 by PACE Telematics GmbH. All rights reserved.

package grpc

Expand Down
7 changes: 0 additions & 7 deletions internal/service/generate/cmds.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"fmt"
"log"
"os"
"os/user"
"path/filepath"
"time"

Expand Down Expand Up @@ -104,11 +103,5 @@ func copyright() string {
stmt := ""
now := time.Now()
stmt += fmt.Sprintf("// Copyright © %04d by PACE Telematics GmbH. All rights reserved.\n", now.Year())

u, err := user.Current()
if err != nil {
log.Fatal(err)
}
stmt += fmt.Sprintf("// Created at %04d/%02d/%02d by %s\n\n", now.Year(), now.Month(), now.Day(), u.Name)
return stmt
}
5 changes: 1 addition & 4 deletions maintenance/errors/bricks.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/*
* Copyright © 2023 by PACE Telematics GmbH. All rights reserved.
* Created at 2023/1/20 by Sascha Voth
*/
// Copyright © 2023 by PACE Telematics GmbH. All rights reserved.

package errors

Expand Down
5 changes: 1 addition & 4 deletions maintenance/errors/bricks_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/*
* Copyright © 2023 by PACE Telematics GmbH. All rights reserved.
* Created at 2023/1/20 by Sascha Voth
*/
// Copyright © 2023 by PACE Telematics GmbH. All rights reserved.

package errors

Expand Down
3 changes: 1 addition & 2 deletions maintenance/log/hlog/hlog_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright © 2022 by PACE Telematics GmbH. All rights reserved.
// Created at 2022/1/13 by Julius Foitzik
// Copyright © 2022 by PACE Telematics GmbH. All rights reserved.

package hlog

Expand Down

0 comments on commit 76459f3

Please sign in to comment.