gotl 0.1.0

Parse and view Go test logs
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::string::FromUtf8Error;

use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("log command output is not valid utf8: {0}")]
    LogOutputUtf8Error(#[from] FromUtf8Error),
    #[error("invalid Go test log: {0}")]
    InvalidLogJson(#[from] serde_json::Error),
}