Skip to content

Commit 79d2d98

Browse files
authored
Updated copyright note (#375)
1 parent b1eb668 commit 79d2d98

File tree

7 files changed

+5
-22
lines changed

7 files changed

+5
-22
lines changed

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Copyright © 2018 by PACE Telematics GmbH. All rights reserved.
2-
# Created at 2018/08/24 by Vincent Landgraf
32
.PHONY: install test jsonapi build integration ci
43

54
JSONAPITEST=http/jsonapi/generator/internal

grpc/middleware.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright © 2021 by PACE Telematics GmbH. All rights reserved.
2-
// Created at 2021/12/10 by Julius Foitzik
1+
// Copyright © 2021 by PACE Telematics GmbH. All rights reserved.
32

43
package grpc
54

grpc/middleware_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright © 2021 by PACE Telematics GmbH. All rights reserved.
2-
// Created at 2021/12/10 by Julius Foitzik
1+
// Copyright © 2021 by PACE Telematics GmbH. All rights reserved.
32

43
package grpc
54

internal/service/generate/cmds.go

-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"fmt"
77
"log"
88
"os"
9-
"os/user"
109
"path/filepath"
1110
"time"
1211

@@ -104,11 +103,5 @@ func copyright() string {
104103
stmt := ""
105104
now := time.Now()
106105
stmt += fmt.Sprintf("// Copyright © %04d by PACE Telematics GmbH. All rights reserved.\n", now.Year())
107-
108-
u, err := user.Current()
109-
if err != nil {
110-
log.Fatal(err)
111-
}
112-
stmt += fmt.Sprintf("// Created at %04d/%02d/%02d by %s\n\n", now.Year(), now.Month(), now.Day(), u.Name)
113106
return stmt
114107
}

maintenance/errors/bricks.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/*
2-
* Copyright © 2023 by PACE Telematics GmbH. All rights reserved.
3-
* Created at 2023/1/20 by Sascha Voth
4-
*/
1+
// Copyright © 2023 by PACE Telematics GmbH. All rights reserved.
52

63
package errors
74

maintenance/errors/bricks_test.go

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
/*
2-
* Copyright © 2023 by PACE Telematics GmbH. All rights reserved.
3-
* Created at 2023/1/20 by Sascha Voth
4-
*/
1+
// Copyright © 2023 by PACE Telematics GmbH. All rights reserved.
52

63
package errors
74

maintenance/log/hlog/hlog_test.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// Copyright © 2022 by PACE Telematics GmbH. All rights reserved.
2-
// Created at 2022/1/13 by Julius Foitzik
1+
// Copyright © 2022 by PACE Telematics GmbH. All rights reserved.
32

43
package hlog
54

0 commit comments

Comments
 (0)