From f76f14c0cee30cde2188ea598e60bf9a59c08ebd Mon Sep 17 00:00:00 2001 From: Onur Cinar Date: Sat, 24 Jun 2023 12:10:18 -0700 Subject: [PATCH] Added copyright header to the code. Fixes #112 (#114) # Describe Request Added copyright header to the code. Fixes #112 # Change Type Documentation change. --- alphanumeric.go | 8 ++++++++ alphanumeric_test.go | 8 ++++++++ ascii.go | 8 ++++++++ ascii_test.go | 8 ++++++++ checker.go | 6 ++++++ checker_test.go | 8 ++++++++ cidr.go | 8 ++++++++ cidr_test.go | 8 ++++++++ credit_card.go | 8 ++++++++ credit_card_test.go | 8 ++++++++ digits.go | 8 ++++++++ digits_test.go | 8 ++++++++ email.go | 8 ++++++++ email_test.go | 8 ++++++++ fqdn.go | 8 ++++++++ fqdn_test.go | 8 ++++++++ header.txt | 8 ++++++++ ip.go | 8 ++++++++ ip_test.go | 8 ++++++++ ipv4.go | 8 ++++++++ ipv4_test.go | 8 ++++++++ ipv6.go | 8 ++++++++ ipv6_test.go | 8 ++++++++ isbn.go | 8 ++++++++ isbn_test.go | 8 ++++++++ lower.go | 8 ++++++++ lower_test.go | 8 ++++++++ luhn.go | 8 ++++++++ luhn_test.go | 8 ++++++++ mac.go | 8 ++++++++ mac_test.go | 8 ++++++++ max.go | 8 ++++++++ max_test.go | 8 ++++++++ maxlength.go | 8 ++++++++ maxlength_test.go | 8 ++++++++ min.go | 8 ++++++++ min_test.go | 8 ++++++++ minlenght.go | 8 ++++++++ minlength_test.go | 8 ++++++++ regexp.go | 8 ++++++++ regexp_test.go | 8 ++++++++ required.go | 8 ++++++++ required_test.go | 8 ++++++++ same.go | 8 ++++++++ same_test.go | 8 ++++++++ test_helper.go | 8 ++++++++ test_helper_test.go | 8 ++++++++ title.go | 8 ++++++++ title_test.go | 8 ++++++++ trim.go | 8 ++++++++ trim_left.go | 8 ++++++++ trim_left_test.go | 8 ++++++++ trim_right.go | 8 ++++++++ trim_right_test.go | 8 ++++++++ trim_test.go | 8 ++++++++ upper.go | 8 ++++++++ upper_test.go | 8 ++++++++ url.go | 8 ++++++++ url_test.go | 8 ++++++++ 59 files changed, 470 insertions(+) create mode 100644 header.txt diff --git a/alphanumeric.go b/alphanumeric.go index bea70d4..d406140 100644 --- a/alphanumeric.go +++ b/alphanumeric.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/alphanumeric_test.go b/alphanumeric_test.go index dfba213..11d44db 100644 --- a/alphanumeric_test.go +++ b/alphanumeric_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/ascii.go b/ascii.go index e06c171..17c6a76 100644 --- a/ascii.go +++ b/ascii.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/ascii_test.go b/ascii_test.go index 61b0433..cbdc0b2 100644 --- a/ascii_test.go +++ b/ascii_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/checker.go b/checker.go index fafa56c..cfe586a 100644 --- a/checker.go +++ b/checker.go @@ -1,4 +1,10 @@ // Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. package checker import ( diff --git a/checker_test.go b/checker_test.go index 7d85815..6276aec 100644 --- a/checker_test.go +++ b/checker_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/cidr.go b/cidr.go index 8490dc9..cabea12 100644 --- a/cidr.go +++ b/cidr.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/cidr_test.go b/cidr_test.go index e93c564..7775cda 100644 --- a/cidr_test.go +++ b/cidr_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/credit_card.go b/credit_card.go index 4b5f453..057a7a5 100644 --- a/credit_card.go +++ b/credit_card.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/credit_card_test.go b/credit_card_test.go index d62e298..a5a044e 100644 --- a/credit_card_test.go +++ b/credit_card_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/digits.go b/digits.go index ee16598..44864b4 100644 --- a/digits.go +++ b/digits.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/digits_test.go b/digits_test.go index 3dfd694..c7bc39b 100644 --- a/digits_test.go +++ b/digits_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/email.go b/email.go index 3856599..818eb6b 100644 --- a/email.go +++ b/email.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/email_test.go b/email_test.go index e1afe8e..ca7a4de 100644 --- a/email_test.go +++ b/email_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/fqdn.go b/fqdn.go index 4ba200e..05fa27f 100644 --- a/fqdn.go +++ b/fqdn.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/fqdn_test.go b/fqdn_test.go index fcf0a52..aabf42c 100644 --- a/fqdn_test.go +++ b/fqdn_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/header.txt b/header.txt new file mode 100644 index 0000000..bfe1c1e --- /dev/null +++ b/header.txt @@ -0,0 +1,8 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// diff --git a/ip.go b/ip.go index aacef03..0c7b9a2 100644 --- a/ip.go +++ b/ip.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/ip_test.go b/ip_test.go index 5035125..f299193 100644 --- a/ip_test.go +++ b/ip_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/ipv4.go b/ipv4.go index 54ca08c..bf87e9b 100644 --- a/ipv4.go +++ b/ipv4.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/ipv4_test.go b/ipv4_test.go index 251a90a..a8ae93f 100644 --- a/ipv4_test.go +++ b/ipv4_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/ipv6.go b/ipv6.go index 10edf45..9ac4dd2 100644 --- a/ipv6.go +++ b/ipv6.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/ipv6_test.go b/ipv6_test.go index 9fccdca..0437e2e 100644 --- a/ipv6_test.go +++ b/ipv6_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/isbn.go b/isbn.go index 11e50db..29d7ce4 100644 --- a/isbn.go +++ b/isbn.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/isbn_test.go b/isbn_test.go index 60becc7..4f12d44 100644 --- a/isbn_test.go +++ b/isbn_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/lower.go b/lower.go index 1a8d99b..a029df7 100644 --- a/lower.go +++ b/lower.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/lower_test.go b/lower_test.go index 8b68d46..9926ded 100644 --- a/lower_test.go +++ b/lower_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/luhn.go b/luhn.go index ef12591..a52e818 100644 --- a/luhn.go +++ b/luhn.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/luhn_test.go b/luhn_test.go index 646c248..80a0e84 100644 --- a/luhn_test.go +++ b/luhn_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/mac.go b/mac.go index 56a20c2..7609337 100644 --- a/mac.go +++ b/mac.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/mac_test.go b/mac_test.go index 60f0cfd..b4bcf65 100644 --- a/mac_test.go +++ b/mac_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/max.go b/max.go index 4583ae3..a756974 100644 --- a/max.go +++ b/max.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/max_test.go b/max_test.go index bc7833e..de1bc28 100644 --- a/max_test.go +++ b/max_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/maxlength.go b/maxlength.go index 44e28ef..5d57798 100644 --- a/maxlength.go +++ b/maxlength.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/maxlength_test.go b/maxlength_test.go index 551f12a..18e520a 100644 --- a/maxlength_test.go +++ b/maxlength_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/min.go b/min.go index 15ea1bd..fee5684 100644 --- a/min.go +++ b/min.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/min_test.go b/min_test.go index 9f6738a..f7c08ea 100644 --- a/min_test.go +++ b/min_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/minlenght.go b/minlenght.go index 15f57c0..5a8641f 100644 --- a/minlenght.go +++ b/minlenght.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/minlength_test.go b/minlength_test.go index 7389700..e102239 100644 --- a/minlength_test.go +++ b/minlength_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/regexp.go b/regexp.go index 5142b53..ce2ec3d 100644 --- a/regexp.go +++ b/regexp.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/regexp_test.go b/regexp_test.go index 99cee62..7121a36 100644 --- a/regexp_test.go +++ b/regexp_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/required.go b/required.go index 1f06c5f..d613aa3 100644 --- a/required.go +++ b/required.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import "reflect" diff --git a/required_test.go b/required_test.go index d25eafd..527e03c 100644 --- a/required_test.go +++ b/required_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/same.go b/same.go index b1c1057..bb386b6 100644 --- a/same.go +++ b/same.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/same_test.go b/same_test.go index 54e7f09..899394b 100644 --- a/same_test.go +++ b/same_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/test_helper.go b/test_helper.go index ab3319f..ede5f18 100644 --- a/test_helper.go +++ b/test_helper.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import "testing" diff --git a/test_helper_test.go b/test_helper_test.go index a093409..60fec35 100644 --- a/test_helper_test.go +++ b/test_helper_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/title.go b/title.go index 68d9944..b57a0b9 100644 --- a/title.go +++ b/title.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/title_test.go b/title_test.go index acad9d1..b545df5 100644 --- a/title_test.go +++ b/title_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/trim.go b/trim.go index b5b9f18..3dbd150 100644 --- a/trim.go +++ b/trim.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/trim_left.go b/trim_left.go index 04b7d87..8c1e38d 100644 --- a/trim_left.go +++ b/trim_left.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/trim_left_test.go b/trim_left_test.go index 181bdb1..4d5315b 100644 --- a/trim_left_test.go +++ b/trim_left_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/trim_right.go b/trim_right.go index 6f0bb6c..8fe16a4 100644 --- a/trim_right.go +++ b/trim_right.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/trim_right_test.go b/trim_right_test.go index da3b114..97a81a2 100644 --- a/trim_right_test.go +++ b/trim_right_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/trim_test.go b/trim_test.go index 2e58fb3..352a776 100644 --- a/trim_test.go +++ b/trim_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/upper.go b/upper.go index 85ce3f5..102a7cd 100644 --- a/upper.go +++ b/upper.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/upper_test.go b/upper_test.go index fedd20b..c167f3c 100644 --- a/upper_test.go +++ b/upper_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import ( diff --git a/url.go b/url.go index 1553d2a..012bb3c 100644 --- a/url.go +++ b/url.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker import ( diff --git a/url_test.go b/url_test.go index d501c18..d4c8bde 100644 --- a/url_test.go +++ b/url_test.go @@ -1,3 +1,11 @@ +// Package checker is a Go library for validating user input through struct tags. +// +// https://github.com/cinar/checker +// +// Copyright 2023 Onur Cinar. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. +// package checker_test import (