aboutsummaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-01-17 14:13:25 +0200
committerTulir Asokan <tulir@maunium.net>2019-01-23 00:26:51 +0200
commitbf2a5e9b3495912bc4e266052e15cceedab131cf (patch)
tree140aac130323f5585a87c7dddb5af49dadb03f33 /interface
parentcdb79be7d7ba10807bc1db1f3e52887b04a4b0fd (diff)
Update license and sort imports
Diffstat (limited to 'interface')
-rw-r--r--interface/gomuks.go10
-rw-r--r--interface/matrix.go11
-rw-r--r--interface/ui.go13
3 files changed, 18 insertions, 16 deletions
diff --git a/interface/gomuks.go b/interface/gomuks.go
index 90a5c4c..f2565fb 100644
--- a/interface/gomuks.go
+++ b/interface/gomuks.go
@@ -1,18 +1,18 @@
// gomuks - A terminal Matrix client written in Go.
-// Copyright (C) 2018 Tulir Asokan
+// Copyright (C) 2019 Tulir Asokan
//
// 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
+// it under the terms of the GNU Affero 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.
+// GNU Affero 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 <http://www.gnu.org/licenses/>.
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
package ifc
diff --git a/interface/matrix.go b/interface/matrix.go
index 01f224e..2f457bf 100644
--- a/interface/matrix.go
+++ b/interface/matrix.go
@@ -1,23 +1,24 @@
// gomuks - A terminal Matrix client written in Go.
-// Copyright (C) 2018 Tulir Asokan
+// Copyright (C) 2019 Tulir Asokan
//
// 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
+// it under the terms of the GNU Affero 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.
+// GNU Affero 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 <http://www.gnu.org/licenses/>.
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
package ifc
import (
"maunium.net/go/mautrix"
+
"maunium.net/go/gomuks/matrix/rooms"
)
diff --git a/interface/ui.go b/interface/ui.go
index 885bb0a..9091e36 100644
--- a/interface/ui.go
+++ b/interface/ui.go
@@ -1,18 +1,18 @@
// gomuks - A terminal Matrix client written in Go.
-// Copyright (C) 2018 Tulir Asokan
+// Copyright (C) 2019 Tulir Asokan
//
// 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
+// it under the terms of the GNU Affero 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.
+// GNU Affero 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 <http://www.gnu.org/licenses/>.
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
package ifc
@@ -20,9 +20,10 @@ import (
"time"
"maunium.net/go/mautrix"
+ "maunium.net/go/tcell"
+
"maunium.net/go/gomuks/matrix/pushrules"
"maunium.net/go/gomuks/matrix/rooms"
- "maunium.net/go/tcell"
)
type UIProvider func(gmx Gomuks) GomuksUI