From c0deea718b8397f86fb86f34a4730ef3f92004de Mon Sep 17 00:00:00 2001 From: Ankit Patial Date: Mon, 16 Jun 2025 22:26:47 +0530 Subject: [PATCH] license text change --- crypto/argon2.go | 4 +++- crypto/argon2_test.go | 4 +++- crypto/ed25519.go | 4 +++- crypto/ed25519_test.go | 4 +++- crypto/encryption.go | 5 +++++ crypto/encryption_test.go | 5 +++++ crypto/hash.go | 5 +++++ crypto/hash_test.go | 5 +++++ crypto/random.go | 4 +++- crypto/random_test.go | 4 +++- email/message.go | 5 +++++ email/render.go | 5 +++++ email/transport.go | 5 +++++ email/transport_smtp.go | 4 +++- go.mod | 2 +- jwt/jwt.go | 4 +++- jwt/jwt_test.go | 5 +++++ mime/mime.go | 7 ++++--- open/darwin.go | 4 ---- open/linux.go | 4 ---- open/open.go | 7 ++++--- open/windows.go | 4 ---- ptr/ptr.go | 4 +++- request/pager.go | 4 +++- request/payload.go | 4 +++- request/query.go | 4 +++- response/reply.go | 4 +++- structs/structs.go | 4 +++- uid/sqid.go | 4 +++- uid/uuid.go | 4 +++- validate/validate.go | 4 +++- 31 files changed, 100 insertions(+), 36 deletions(-) diff --git a/crypto/argon2.go b/crypto/argon2.go index 6b492ba..717be62 100644 --- a/crypto/argon2.go +++ b/crypto/argon2.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package crypto diff --git a/crypto/argon2_test.go b/crypto/argon2_test.go index 193f682..6ee6c11 100644 --- a/crypto/argon2_test.go +++ b/crypto/argon2_test.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package crypto diff --git a/crypto/ed25519.go b/crypto/ed25519.go index 7132809..5fc159a 100644 --- a/crypto/ed25519.go +++ b/crypto/ed25519.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package crypto diff --git a/crypto/ed25519_test.go b/crypto/ed25519_test.go index 2e150b9..58d82ec 100644 --- a/crypto/ed25519_test.go +++ b/crypto/ed25519_test.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package crypto diff --git a/crypto/encryption.go b/crypto/encryption.go index 49f2bc3..a98cf45 100644 --- a/crypto/encryption.go +++ b/crypto/encryption.go @@ -1,3 +1,8 @@ +// Copyright 2024 Patial Tech (Ankit Patial). +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT + package crypto import ( diff --git a/crypto/encryption_test.go b/crypto/encryption_test.go index c96fd8f..4c6ee99 100644 --- a/crypto/encryption_test.go +++ b/crypto/encryption_test.go @@ -1,3 +1,8 @@ +// Copyright 2024 Patial Tech (Ankit Patial). +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT + package crypto import ( diff --git a/crypto/hash.go b/crypto/hash.go index 6c64109..504364c 100644 --- a/crypto/hash.go +++ b/crypto/hash.go @@ -1,3 +1,8 @@ +// Copyright 2024 Patial Tech (Ankit Patial). +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT + package crypto import ( diff --git a/crypto/hash_test.go b/crypto/hash_test.go index 9e53c42..e1cfd82 100644 --- a/crypto/hash_test.go +++ b/crypto/hash_test.go @@ -1,3 +1,8 @@ +// Copyright 2024 Patial Tech (Ankit Patial). +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT + package crypto import "testing" diff --git a/crypto/random.go b/crypto/random.go index e08c83d..e34b34f 100644 --- a/crypto/random.go +++ b/crypto/random.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package crypto diff --git a/crypto/random_test.go b/crypto/random_test.go index bde7e44..daf6c43 100644 --- a/crypto/random_test.go +++ b/crypto/random_test.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package crypto diff --git a/email/message.go b/email/message.go index e8b21e1..b41e40b 100644 --- a/email/message.go +++ b/email/message.go @@ -1,3 +1,8 @@ +// Copyright 2024 Patial Tech (Ankit Patial). +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT + package email import ( diff --git a/email/render.go b/email/render.go index 2502647..64d3e6e 100644 --- a/email/render.go +++ b/email/render.go @@ -1,3 +1,8 @@ +// Copyright 2024 Patial Tech (Ankit Patial). +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT + package email import ( diff --git a/email/transport.go b/email/transport.go index 58bfe7e..85811a4 100644 --- a/email/transport.go +++ b/email/transport.go @@ -1,3 +1,8 @@ +// Copyright 2024 Patial Tech (Ankit Patial). +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT + package email import ( diff --git a/email/transport_smtp.go b/email/transport_smtp.go index 0badd2b..f7e26fe 100644 --- a/email/transport_smtp.go +++ b/email/transport_smtp.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package email diff --git a/go.mod b/go.mod index e345951..40a21cc 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module code.patial.tech/go/appcore -go 1.24.4 +go 1.24 require ( github.com/go-playground/validator/v10 v10.26.0 diff --git a/jwt/jwt.go b/jwt/jwt.go index 9926027..a95d1e5 100644 --- a/jwt/jwt.go +++ b/jwt/jwt.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package jwt diff --git a/jwt/jwt_test.go b/jwt/jwt_test.go index 84c5f52..daeb382 100644 --- a/jwt/jwt_test.go +++ b/jwt/jwt_test.go @@ -1,3 +1,8 @@ +// Copyright 2024 Patial Tech (Ankit Patial). +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT + package jwt import ( diff --git a/mime/mime.go b/mime/mime.go index 95b4ffa..7e44f11 100644 --- a/mime/mime.go +++ b/mime/mime.go @@ -1,6 +1,7 @@ -// Copyright 2024 Patial Tech. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// Copyright 2024 Patial Tech (Ankit Patial). +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package mime diff --git a/open/darwin.go b/open/darwin.go index 72671a5..06c891a 100644 --- a/open/darwin.go +++ b/open/darwin.go @@ -1,9 +1,5 @@ //go:build darwin -// Copyright 2024 Patial Tech. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - package open import ( diff --git a/open/linux.go b/open/linux.go index 803b77a..a432b58 100644 --- a/open/linux.go +++ b/open/linux.go @@ -1,9 +1,5 @@ //go:build linux -// Copyright 2024 Patial Tech. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - package open import ( diff --git a/open/open.go b/open/open.go index 69c9b35..8f5545a 100644 --- a/open/open.go +++ b/open/open.go @@ -1,6 +1,7 @@ -// Copyright 2024 Patial Tech. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. +// Copyright 2024 Patial Tech (Ankit Patial). +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package open diff --git a/open/windows.go b/open/windows.go index dfdfb28..a0b0324 100644 --- a/open/windows.go +++ b/open/windows.go @@ -1,9 +1,5 @@ //go:build windows -// Copyright 2024 Patial Tech. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - package open import ( diff --git a/ptr/ptr.go b/ptr/ptr.go index 57d15da..340e197 100644 --- a/ptr/ptr.go +++ b/ptr/ptr.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package ptr diff --git a/request/pager.go b/request/pager.go index 6be6116..6d2e323 100644 --- a/request/pager.go +++ b/request/pager.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package request diff --git a/request/payload.go b/request/payload.go index ebc265b..ca17e7c 100644 --- a/request/payload.go +++ b/request/payload.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package request diff --git a/request/query.go b/request/query.go index b1b554f..73d5cd3 100644 --- a/request/query.go +++ b/request/query.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package request diff --git a/response/reply.go b/response/reply.go index b5775f1..a109d32 100644 --- a/response/reply.go +++ b/response/reply.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package response diff --git a/structs/structs.go b/structs/structs.go index fcbf989..a0b26a2 100644 --- a/structs/structs.go +++ b/structs/structs.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package structs diff --git a/uid/sqid.go b/uid/sqid.go index 026c3af..dc1a63e 100644 --- a/uid/sqid.go +++ b/uid/sqid.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package uid diff --git a/uid/uuid.go b/uid/uuid.go index f657248..77af154 100644 --- a/uid/uuid.go +++ b/uid/uuid.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package uid diff --git a/validate/validate.go b/validate/validate.go index 4e1f112..f8954ff 100644 --- a/validate/validate.go +++ b/validate/validate.go @@ -1,5 +1,7 @@ // Copyright 2024 Patial Tech (Ankit Patial). -// All rights reserved. +// +// This file is part of code.patial.tech/go/appcore, which is MIT licensed. +// See http://opensource.org/licenses/MIT package validate