{"modulePath":"github.com/cjavdev/spotted-cli","version":"v0.23.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package binaryparam\n\n## Functions\n\n```go\nfunc FileOrStdin(stdin io.ReadCloser, path string) (io.ReadCloser, bool, error)\n```\nFileOrStdin opens the file at the given path for reading. If the path is \"-\", stdin is returned instead.\n\nIt's the caller's responsibility to close the returned ReadCloser (usually with \\`defer\\`).\n\nReturns a boolean indicating whether stdin is being used. If true, no other components of the calling program should attempt to read from stdin for anything else.\n\n","path":"github.com/cjavdev/spotted-cli/internal/binaryparam","name":"binaryparam","synopsis":"","isRedistributable":true}
