aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-01-31 12:06:52 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-01-31 12:06:52 +0530
commitcaa17299f9f70addca805eb94a8174efcdda6985 (patch)
treeb892116c9bb7e44005e2125bac4e34a79f64da64
parentc4c273888446b4beb215cafc165ecd9365bee357 (diff)
Adding copyright declarations to every file
-rw-r--r--LICENSE4
-rw-r--r--anime/anime.go16
-rw-r--r--anime/anime.structs.go16
-rw-r--r--anime/ranking.structs.go16
-rw-r--r--anime/util.go16
-rw-r--r--anime/validators.go16
6 files changed, 82 insertions, 2 deletions
diff --git a/LICENSE b/LICENSE
index f288702..29a48b1 100644
--- a/LICENSE
+++ b/LICENSE
@@ -631,8 +631,8 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
+ mal2go - MyAnimeList V2 API wrapper for Go
+ Copyright (C) 2022 Vidhu Kant Sharma <vidhukant@protonmail.ch>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/anime/anime.go b/anime/anime.go
index bad3cf3..1439221 100644
--- a/anime/anime.go
+++ b/anime/anime.go
@@ -1,3 +1,19 @@
+/* mal2go - MyAnimeList V2 API wrapper for Go
+ * Copyright (C) 2022 Vidhu Kant Sharma <vidhukant@protonmail.ch>
+
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
package anime
import (
diff --git a/anime/anime.structs.go b/anime/anime.structs.go
index a5e7d8e..596f16e 100644
--- a/anime/anime.structs.go
+++ b/anime/anime.structs.go
@@ -1,3 +1,19 @@
+/* mal2go - MyAnimeList V2 API wrapper for Go
+ * Copyright (C) 2022 Vidhu Kant Sharma <vidhukant@protonmail.ch>
+
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
package anime
type AnimePicture struct {
diff --git a/anime/ranking.structs.go b/anime/ranking.structs.go
index 8b9b303..faa9722 100644
--- a/anime/ranking.structs.go
+++ b/anime/ranking.structs.go
@@ -1,3 +1,19 @@
+/* mal2go - MyAnimeList V2 API wrapper for Go
+ * Copyright (C) 2022 Vidhu Kant Sharma <vidhukant@protonmail.ch>
+
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
package anime
// contains previous/next page for anime list
diff --git a/anime/util.go b/anime/util.go
index 34ba863..f1f3b2a 100644
--- a/anime/util.go
+++ b/anime/util.go
@@ -1,3 +1,19 @@
+/* mal2go - MyAnimeList V2 API wrapper for Go
+ * Copyright (C) 2022 Vidhu Kant Sharma <vidhukant@protonmail.ch>
+
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
package anime
import (
diff --git a/anime/validators.go b/anime/validators.go
index 4cf4986..416f827 100644
--- a/anime/validators.go
+++ b/anime/validators.go
@@ -1,3 +1,19 @@
+/* mal2go - MyAnimeList V2 API wrapper for Go
+ * Copyright (C) 2022 Vidhu Kant Sharma <vidhukant@protonmail.ch>
+
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
package anime
// Checks if given rankingType is valid