Skip to content

Add string representation of Direction.#430

Merged
miry merged 1 commit into
masterfrom
direction-string
Sep 6, 2022
Merged

Add string representation of Direction.#430
miry merged 1 commit into
masterfrom
direction-string

Conversation

@miry
Copy link
Copy Markdown
Contributor

@miry miry commented Sep 3, 2022

Allow to print Direction in human form.
Extract Direction struct to a separate file.
Add tests to cover Direction to string.

Add method to detect Direction from string.

@miry miry self-assigned this Sep 3, 2022
@miry miry added the Toxiproxy label Sep 3, 2022
@miry miry marked this pull request as ready for review September 3, 2022 22:58
@miry miry mentioned this pull request Sep 3, 2022
18 tasks
@miry miry added this to the 2.5.0 milestone Sep 3, 2022
@miry miry requested review from a team, dabealu, frightenedmonkey and yuseinishiyama and removed request for a team September 5, 2022 11:58
Comment thread stream/direction.go
Allow to print Direction in human form.
Extract Direction struct to a separate file.
Add tests to cover Direction to string.
Parse direction from string with a new method stream.ParseDirection.
It returns direction or error if could not parse.
@miry miry merged commit 77dfc2f into master Sep 6, 2022
@miry miry deleted the direction-string branch September 6, 2022 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants