Rename library functions from "main"

This commit is contained in:
George Kaklamanos 2023-06-30 18:02:40 +03:00
parent 6e6d4b227d
commit 983456997b
5 changed files with 8 additions and 8 deletions

View file

@ -62,7 +62,7 @@ fn auth_user(username: String, resource: String) -> Result<(), ()> {
return ret;
}
pub fn main() {
pub fn csv() {
let args: Vec<String> = std::env::args().collect();
let method = String::from(&args[1]);
let identifier = String::from(&args[2]);