From 318fbd3946c7fbdb70cf2843cc0ce1979dba12ff Mon Sep 17 00:00:00 2001 From: Mansour Rahimi Date: Sun, 13 Oct 2019 16:51:11 +0200 Subject: [PATCH] Fix typo, Fixes #1 --- database/postgres/citizens.go | 2 +- service/service.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/database/postgres/citizens.go b/database/postgres/citizens.go index 6e81776..76d48c7 100644 --- a/database/postgres/citizens.go +++ b/database/postgres/citizens.go @@ -49,7 +49,7 @@ func (cs *CitizensStore) Get(q *syracuse.CitizensQuery) (*syracuse.Citizen, erro return c, nil } -// Select returns a collectio of users from db. +// Select returns a collection of users from db. func (cs *CitizensStore) Select() ([]*syracuse.Citizen, error) { query := squirrel.Select("*").From("users").Where("deleted_at is null") diff --git a/service/service.go b/service/service.go index b608c18..3cfb7df 100644 --- a/service/service.go +++ b/service/service.go @@ -41,7 +41,7 @@ func (cs *Citizens) GetByFullname(fullname string) (*syracuse.Citizen, error) { return cs.Store.Get(q) } -// Select returns a collectio of users from db. +// Select returns a collection of users from db. func (cs *Citizens) Select() ([]*syracuse.Citizen, error) { return cs.Store.Select() }