From 034a5ab677648d98b624eae75ac8a07361787fed Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Tue, 22 Oct 2019 16:29:54 +0200 Subject: [PATCH] Fix typo in comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Roberto Abdelkader Martínez Pérez --- internal/server/user/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/server/user/state.go b/internal/server/user/state.go index 085682a..3e24884 100644 --- a/internal/server/user/state.go +++ b/internal/server/user/state.go @@ -51,7 +51,7 @@ func (srl *safeRouteList) List() []model.Route { } func (srl *safeRouteList) Delete(ID string) error { - // TODO: Refactor with `refer` if applicable + // TODO: Refactor with `defer` if applicable srl.m.Lock() for i := 0; i < len(srl.rs); i++ { if srl.rs[i].ID == ID {