-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup: SaveMeasurement doesn't belong to Experiment (#1541)
This cleanup may be a bit tangential, but it still makes sense in the context of what I'm doing, i.e., cleaning up the engine API and ensuring we mostly use engine functionality in clients. While doing this, it occurred to me that I could avoid keeping the SaveMeasurement method attached to an experiment, and I could instead just make it a pure function. This reduces the complexity of the *engine.Experiment type. While there, slightly improve testing. Part of ooni/probe#2700
- Loading branch information
1 parent
0cef255
commit 244dd1e
Showing
7 changed files
with
155 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.