Skip to content

Commit a63684f

Browse files
authored
Consistent license message for all the go files (mattermost#13235)
* Consistent license message for all the go files * Fixing the last set of unconsistencies with the license headers * Addressing PR review comments * Fixing busy.go and busy_test.go license header
1 parent 0adbfa8 commit a63684f

File tree

843 files changed

+1455
-1301
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

843 files changed

+1455
-1301
lines changed

api4/api.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/apitestlib.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/bot.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/bot_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/brand.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/brand_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/channel.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/channel_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/cluster.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/cluster_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/command.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/command_help_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/command_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/commands_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/compliance.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/config.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/config_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
3+
14
package api4
25

36
import (

api4/cors_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
3+
14
package api4
25

36
import (

api4/data_retention.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/data_retention_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/elasticsearch.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/elasticsearch_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/emoji.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/emoji_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/file.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/file_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/group.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2018-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/group_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2018-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/handlers.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/handlers_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
3+
14
package api4
25

36
import (

api4/helpers.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/image.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/image_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/integration_action.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/integration_action_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/job.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/job_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/ldap.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/ldap_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/license.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/license_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
3+
14
package api4
25

36
import (

api4/main_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/oauth.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/oauth_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017 Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/openGraph.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/openGraph_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/plugin.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
// EXPERIMENTAL - SUBJECT TO CHANGE
55

api4/plugin_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/post.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

api4/post_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
2-
// See License.txt for license information.
1+
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
2+
// See LICENSE.txt for license information.
33

44
package api4
55

0 commit comments

Comments
 (0)