We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following function have similar processes.
// LoadPlan uses for loading a test plan from a JSON file func LoadPlan(path string) Plan { var plan Plan raw, error := ioutil.ReadFile(path) if error != nil { log.Fatal("[File Loading Error] ", error) os.Exit(1) } json.Unmarshal(raw, &plan) return plan } // LoadAPIStore uses for loading APIStore from a JSON file func LoadAPIStore(path string) APIStore { var store APIStore raw, error := ioutil.ReadFile(path) if error != nil { log.Fatal("[File Loading Error] ", error) os.Exit(1) } json.Unmarshal(raw, &store) return store }
The text was updated successfully, but these errors were encountered:
Duplicate but necessary
Sorry, something went wrong.
No branches or pull requests
The following function have similar processes.
The text was updated successfully, but these errors were encountered: