From 4394856f24eb77856e4e8a9f990f7b5689ca6fc7 Mon Sep 17 00:00:00 2001 From: nxshock Date: Sat, 20 Jul 2019 22:11:40 +0500 Subject: [PATCH] Remove unused files --- internal/models/enums.go | 8 -------- internal/models/replies.go | 15 --------------- 2 files changed, 23 deletions(-) delete mode 100644 internal/models/enums.go delete mode 100644 internal/models/replies.go diff --git a/internal/models/enums.go b/internal/models/enums.go deleted file mode 100644 index c072ec8..0000000 --- a/internal/models/enums.go +++ /dev/null @@ -1,8 +0,0 @@ -package models - -type VisibilityType string - -const ( - VisibilityTypePrivate = "private" - VisibilityTypePublic = "public" -) diff --git a/internal/models/replies.go b/internal/models/replies.go deleted file mode 100644 index daae4f3..0000000 --- a/internal/models/replies.go +++ /dev/null @@ -1,15 +0,0 @@ -package models - -import ( - common "github.com/nxshock/signaller/internal/models/common" -) - -// https://matrix.org/docs/spec/client_server/r0.4.0.html#get-matrix-client-r0-account-whoami -type WhoAmIReply struct { - UserID string `json:"user_id"` // Required. The user id that owns the access token. -} - -// https://matrix.org/docs/spec/client_server/r0.4.0.html#get-matrix-client-r0-rooms-roomid-members -type MembersReply struct { - Chunk []common.MemberEvent `json:"chunk"` -}