From 0d00bf9fd242d3b4f9f3d6caaf5a61f8a3627d7f Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 28 May 2024 13:13:13 +0200 Subject: [golang] fixed golang api client design mistakes --- golang/pkg/api/priority_queue.go | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'golang/pkg/api/priority_queue.go') diff --git a/golang/pkg/api/priority_queue.go b/golang/pkg/api/priority_queue.go index 077c8f7..08e3258 100644 --- a/golang/pkg/api/priority_queue.go +++ b/golang/pkg/api/priority_queue.go @@ -1,15 +1,5 @@ package api -type Request struct { - index int - priority int - - method string - path string - payload any - resp chan *Response -} - type PriorityQueue []*Request func (pq PriorityQueue) Len() int { -- cgit v1.2.3