summaryrefslogtreecommitdiff
path: root/internal/trans
diff options
context:
space:
mode:
Diffstat (limited to 'internal/trans')
-rw-r--r--internal/trans/decoders.go2
-rw-r--r--internal/trans/encoders.go2
-rw-r--r--internal/trans/export.go2
-rw-r--r--internal/trans/exporter.go2
-rw-r--r--internal/trans/exportminimal.go2
-rw-r--r--internal/trans/exportminimal_test.go2
-rw-r--r--internal/trans/import.go5
-rw-r--r--internal/trans/import_test.go2
-rw-r--r--internal/trans/importer.go2
-rw-r--r--internal/trans/model/account.go2
-rw-r--r--internal/trans/model/block.go2
-rw-r--r--internal/trans/model/domainblock.go2
-rw-r--r--internal/trans/model/follow.go2
-rw-r--r--internal/trans/model/followrequest.go2
-rw-r--r--internal/trans/model/instance.go2
-rw-r--r--internal/trans/model/type.go2
-rw-r--r--internal/trans/model/user.go2
-rw-r--r--internal/trans/trans_test.go2
-rw-r--r--internal/trans/util.go2
19 files changed, 21 insertions, 20 deletions
diff --git a/internal/trans/decoders.go b/internal/trans/decoders.go
index b4f146023..a0da3072f 100644
--- a/internal/trans/decoders.go
+++ b/internal/trans/decoders.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/encoders.go b/internal/trans/encoders.go
index 76c2acadc..081ec0cfc 100644
--- a/internal/trans/encoders.go
+++ b/internal/trans/encoders.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/export.go b/internal/trans/export.go
index a432975be..9c29c8253 100644
--- a/internal/trans/export.go
+++ b/internal/trans/export.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/exporter.go b/internal/trans/exporter.go
index d6d5678d0..33f58f0f5 100644
--- a/internal/trans/exporter.go
+++ b/internal/trans/exporter.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/exportminimal.go b/internal/trans/exportminimal.go
index a9ace9b91..c76e6ca8b 100644
--- a/internal/trans/exportminimal.go
+++ b/internal/trans/exportminimal.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/exportminimal_test.go b/internal/trans/exportminimal_test.go
index e01793862..c039ef46e 100644
--- a/internal/trans/exportminimal_test.go
+++ b/internal/trans/exportminimal_test.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/import.go b/internal/trans/import.go
index f93b50f9e..f4f3eb8d4 100644
--- a/internal/trans/import.go
+++ b/internal/trans/import.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
@@ -23,10 +23,11 @@ import (
"encoding/json"
"errors"
"fmt"
- "github.com/sirupsen/logrus"
"io"
"os"
+ "github.com/sirupsen/logrus"
+
transmodel "github.com/superseriousbusiness/gotosocial/internal/trans/model"
)
diff --git a/internal/trans/import_test.go b/internal/trans/import_test.go
index c8ceb614c..a29535d85 100644
--- a/internal/trans/import_test.go
+++ b/internal/trans/import_test.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/importer.go b/internal/trans/importer.go
index 335bb8d70..9f113a6d7 100644
--- a/internal/trans/importer.go
+++ b/internal/trans/importer.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/model/account.go b/internal/trans/model/account.go
index 2350048d7..12d54a06f 100644
--- a/internal/trans/model/account.go
+++ b/internal/trans/model/account.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/model/block.go b/internal/trans/model/block.go
index 313e6a7cd..f8777ee6c 100644
--- a/internal/trans/model/block.go
+++ b/internal/trans/model/block.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/model/domainblock.go b/internal/trans/model/domainblock.go
index de2bcd00a..48cebb4aa 100644
--- a/internal/trans/model/domainblock.go
+++ b/internal/trans/model/domainblock.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/model/follow.go b/internal/trans/model/follow.go
index b94f2600d..3cfafd540 100644
--- a/internal/trans/model/follow.go
+++ b/internal/trans/model/follow.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/model/followrequest.go b/internal/trans/model/followrequest.go
index 844bcb7af..98a1ed1bc 100644
--- a/internal/trans/model/followrequest.go
+++ b/internal/trans/model/followrequest.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/model/instance.go b/internal/trans/model/instance.go
index a75aa65bf..d93e1b3e8 100644
--- a/internal/trans/model/instance.go
+++ b/internal/trans/model/instance.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/model/type.go b/internal/trans/model/type.go
index 76f57c843..f4f302614 100644
--- a/internal/trans/model/type.go
+++ b/internal/trans/model/type.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/model/user.go b/internal/trans/model/user.go
index 293b124a2..317b4debf 100644
--- a/internal/trans/model/user.go
+++ b/internal/trans/model/user.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/trans_test.go b/internal/trans/trans_test.go
index a6669f397..f7b85af1b 100644
--- a/internal/trans/trans_test.go
+++ b/internal/trans/trans_test.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
diff --git a/internal/trans/util.go b/internal/trans/util.go
index 4ccc1a4b6..0c127b23d 100644
--- a/internal/trans/util.go
+++ b/internal/trans/util.go
@@ -1,6 +1,6 @@
/*
GoToSocial
- Copyright (C) 2021 GoToSocial Authors admin@gotosocial.org
+ Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by