Function display_summary

Source
pub fn display_summary(repo_info: &HashMap<String, Vec<Interaction>>)
Expand description

Display the summary of the interactions

§Arguments

  • repo_info - A HashMap containing the interactions

§Example

use std::collections::HashMap;

use github_analytics::models::Interaction;
use github_analytics::print_data::display_summary;

let mut repo_info: HashMap<String, Vec<Interaction>> = HashMap::new();
repo_info.insert("repo".to_owned(), vec![]);
display_summary(&repo_info);