Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Add basic structure for search short link #829

Merged
merged 14 commits into from
Jun 3, 2020
Merged

Add basic structure for search short link #829

merged 14 commits into from
Jun 3, 2020

Conversation

arberiii
Copy link
Member

@arberiii arberiii commented Jun 3, 2020

Current Behavior ( Optional for new feature )

Description

A RESTful API for users to search their short link is an important feature of Short, as such this feature should be done right. For more detailed discussion please find it in issue #260.

New Behavior

Description

The branch search-prototype implements the core of this feature as described in the document Search Short Link Design Doc but without the HTTP routing and authenticating. Opening a PR for that branch would be a rather larger PR (around 1K LoC) and tedious to review, that's why I will split it in smaller PRs going top-down and modify it along the way.

The first PR presents the public types and functions of the Search API.

@codecov
Copy link

codecov bot commented Jun 3, 2020

Codecov Report

Merging #829 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #829   +/-   ##
=======================================
  Coverage   50.03%   50.03%           
=======================================
  Files         123      123           
  Lines        2650     2650           
  Branches      147      147           
=======================================
  Hits         1326     1326           
  Misses       1274     1274           
  Partials       50       50           
Flag Coverage Δ
#golang 70.50% <ø> (ø)
#typescript 23.66% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e99ef6b...ce8b4b6. Read the comment docs.

@magicoder10 magicoder10 added this to In progress in Search APIs via automation Jun 3, 2020
@magicoder10 magicoder10 added this to the 06/01 - 06/07 milestone Jun 3, 2020
@magicoder10 magicoder10 requested review from oatovar and Coteh June 3, 2020 14:49
backend/app/usecase/search/filter.go Outdated Show resolved Hide resolved
backend/app/usecase/search/order/order.go Outdated Show resolved Hide resolved
backend/app/usecase/search/order/order.go Outdated Show resolved Hide resolved
backend/app/usecase/search/query.go Outdated Show resolved Hide resolved
backend/app/usecase/search/search.go Outdated Show resolved Hide resolved
backend/app/usecase/search/search.go Outdated Show resolved Hide resolved
backend/app/usecase/search/search.go Outdated Show resolved Hide resolved
backend/go.mod Outdated Show resolved Hide resolved
backend/go.sum Outdated Show resolved Hide resolved
Search APIs automation moved this from In progress to Review in progress Jun 3, 2020
backend/app/usecase/search/query.go Outdated Show resolved Hide resolved
Search APIs automation moved this from Review in progress to Reviewer approved Jun 3, 2020
@magicoder10 magicoder10 changed the title The core of creating RESTful search API in Go Add basic structure for search short link Jun 3, 2020
@magicoder10 magicoder10 merged commit 8e0beea into master Jun 3, 2020
Search APIs automation moved this from Reviewer approved to Done Jun 3, 2020
@magicoder10 magicoder10 deleted the search-core branch June 3, 2020 16:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
No open projects
Search APIs
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants