Skip to content

Simplify services #6

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Conversation

fyrchik
Copy link

@fyrchik fyrchik commented Dec 30, 2022

Depends on #5.

acid-ant
acid-ant previously approved these changes Jan 9, 2023
Copy link
Member

@carpawell carpawell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some commits are not formatted, the code is ok to me.

pkg/services/object/acl/eacl/v2/headers.go Show resolved Hide resolved
@alexvanin
Copy link

Do we want to run integration tests before merge?

acid-ant
acid-ant previously approved these changes Feb 21, 2023
We have lots of small _private_ methods on `execCtx` whose sole purpose
is to just return a struct field.

Signed-off-by: Evgenii Stratonikov <[email protected]>
It calls a single method from source without any processing.

Signed-off-by: Evgenii Stratonikov <[email protected]>
Signed-off-by: Evgenii Stratonikov <[email protected]>
All `Service` are accessed by pointer.

Signed-off-by: Evgenii Stratonikov <[email protected]>
There is no need in a wrapper with many from-`interface{}` conversions.

Signed-off-by: Evgenii Stratonikov <[email protected]>
There is no need in a wrapper with many from-`interface{}` conversions.

Signed-off-by: Evgenii Stratonikov <[email protected]>
There is no need in a wrapper with many from-`interface{}` conversions.

Signed-off-by: Evgenii Stratonikov <[email protected]>
It has only 1 parameter.

Signed-off-by: Evgenii Stratonikov <[email protected]>
There is no need in a wrapper with many from-`interface{}` conversions.

Signed-off-by: Evgenii Stratonikov <[email protected]>
Make it being used from a single thread.

Signed-off-by: Evgenii Stratonikov <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants