Skip to content

Move ctx to first position in internal func signatures#43

Merged
arashpayan merged 1 commit intomainfrom
ctx_refactor
Mar 16, 2026
Merged

Move ctx to first position in internal func signatures#43
arashpayan merged 1 commit intomainfrom
ctx_refactor

Conversation

@rakitzis
Copy link
Copy Markdown
Collaborator

"ctx context.Context" is by convention in Go the first parameter in a parameter list. This commit rearranges the go-smb2 internal functions requiring a context to take ctx as their first parameter.

"ctx context.Context" is by convention in Go the first parameter
in a parameter list. This commit rearranges the go-smb2 internal
functions requiring a context to take ctx as their first parameter.
@rakitzis rakitzis requested a review from arashpayan March 15, 2026 18:25
@arashpayan arashpayan merged commit 0422a42 into main Mar 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants