Update flake and deps, continue implementing basic structure
This commit is contained in:
11
src/sources/forgejo.rs
Normal file
11
src/sources/forgejo.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
pub struct KagamiSourceForgejo {
|
||||
host: String,
|
||||
}
|
||||
|
||||
impl KagamiSourceForgejo {
|
||||
pub fn new(host: &str) -> Self {
|
||||
Self {
|
||||
host: host.to_string(),
|
||||
}
|
||||
}
|
||||
}
|
||||
11
src/sources/git.rs
Normal file
11
src/sources/git.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
pub struct KagamiSourceGit {
|
||||
host: String,
|
||||
}
|
||||
|
||||
impl KagamiSourceGitea {
|
||||
pub fn new(host: &str) -> Self {
|
||||
Self {
|
||||
host: host.to_string(),
|
||||
}
|
||||
}
|
||||
}
|
||||
11
src/sources/gitea.rs
Normal file
11
src/sources/gitea.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
pub struct KagamiSourceGitea {
|
||||
host: String,
|
||||
}
|
||||
|
||||
impl KagamiSourceGitea {
|
||||
pub fn new(host: &str) -> Self {
|
||||
Self {
|
||||
host: host.to_string(),
|
||||
}
|
||||
}
|
||||
}
|
||||
11
src/sources/github.rs
Normal file
11
src/sources/github.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
pub struct KagamiSourceGithub {
|
||||
host: String,
|
||||
}
|
||||
|
||||
impl KagamiSourceGithub {
|
||||
pub fn new(host: &str) -> Self {
|
||||
Self {
|
||||
host: host.to_string(),
|
||||
}
|
||||
}
|
||||
}
|
||||
11
src/sources/gitlab.rs
Normal file
11
src/sources/gitlab.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
pub struct KagamiSourceGitlab {
|
||||
host: String,
|
||||
}
|
||||
|
||||
impl KagamiSourceGitlab {
|
||||
pub fn new(host: &str) -> Self {
|
||||
Self {
|
||||
host: host.to_string(),
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user