Reduce number of parameters
Some checks are pending
continuous-integration/drone/push Build is pending

This commit is contained in:
Valentin Brandl
2019-11-25 17:27:16 +01:00
parent 9991f6c545
commit bbf5bba490
3 changed files with 39 additions and 12 deletions

10
src/template.rs Normal file
View File

@@ -0,0 +1,10 @@
pub struct RepoInfo<'a> {
pub commit_url: &'a str,
pub commits: u64,
pub domain: &'a str,
pub head: &'a str,
pub hoc: u64,
pub hoc_pretty: &'a str,
pub path: &'a str,
pub url: &'a str,
}