From 504089b748290c268c14f674f8c6564b7c1f9b1e Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 24 Jul 2025 08:07:38 +0000 Subject: [PATCH] feat: add MPL 2.0 license headers to all go files --- adapter.go | 5 ++++- context.go | 4 ++++ ecw.go | 4 ++++ engine.go | 4 ++++ fileserver.go | 4 ++++ logreco.go | 4 ++++ maxreader.go | 4 ++++ mergectx.go | 4 ++++ midware_x.go | 4 ++++ path.go | 4 ++++ recovery.go | 5 ++++- respw.go | 4 ++++ serve.go | 4 ++++ testutil.go | 4 ++++ touka.go | 4 ++++ 15 files changed, 60 insertions(+), 2 deletions(-) diff --git a/adapter.go b/adapter.go index 68a2ddb..88166ee 100644 --- a/adapter.go +++ b/adapter.go @@ -1,4 +1,7 @@ -// 文件: touka/adapter.go +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/context.go b/context.go index d246ce3..fa689a1 100644 --- a/context.go +++ b/context.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/ecw.go b/ecw.go index 67b5c7d..c87be28 100644 --- a/ecw.go +++ b/ecw.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/engine.go b/engine.go index a2e7b2a..32fd3f1 100644 --- a/engine.go +++ b/engine.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/fileserver.go b/fileserver.go index 653818e..5b7f248 100644 --- a/fileserver.go +++ b/fileserver.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/logreco.go b/logreco.go index 2fc1a7a..4bda8d3 100644 --- a/logreco.go +++ b/logreco.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/maxreader.go b/maxreader.go index 96ff025..c6201e6 100644 --- a/maxreader.go +++ b/maxreader.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/mergectx.go b/mergectx.go index 4c91601..7ce2031 100644 --- a/mergectx.go +++ b/mergectx.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/midware_x.go b/midware_x.go index 65d97d6..3e21329 100644 --- a/midware_x.go +++ b/midware_x.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka type MiddlewareXFunc func() HandlerFunc diff --git a/path.go b/path.go index 7a4e1e0..6c5cc4c 100644 --- a/path.go +++ b/path.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/recovery.go b/recovery.go index a50f54b..5dfb837 100644 --- a/recovery.go +++ b/recovery.go @@ -1,4 +1,7 @@ -// 文件: touka/recovery.go +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/respw.go b/respw.go index ebbc9ee..2cf6700 100644 --- a/respw.go +++ b/respw.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/serve.go b/serve.go index 885f8c3..d73efe9 100644 --- a/serve.go +++ b/serve.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/testutil.go b/testutil.go index 63af207..3511320 100644 --- a/testutil.go +++ b/testutil.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import ( diff --git a/touka.go b/touka.go index a9f9a1c..837d62d 100644 --- a/touka.go +++ b/touka.go @@ -1,3 +1,7 @@ +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// Copyright 2024 WJQSERVER. All rights reserved. +// All rights reserved by WJQSERVER, related rights can be exercised by the infinite-iroha organization. package touka import (