refactor: reorganize internal/search
Created by: rvantonder
This only moves things around and updates imports. See individual commits:
- move the files in
/search/search/
intointernal/search
- rename
search_types.go
totypes.go
- rename
search.go
toargs.go
, sincesearch.go
doesn't really give an idea what this file is about, and it mostly containstype Args
. The types in this file are a good fit fortypes.go
, later. movesearch/query
tointernal/query
. The idea is that this removes deeper nesting underinternal/search
, andquery
is already a concept forautomation
and in other places, so making it it's own toplevel package/directory seems reasonable