Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// method 1. you can create file name same as the module like database to database.rs
// this method only can use when this module doesnt have submodul
pub enum Status {
    Connected,
    Interupted
}

pub fn connect_to_database() -> Status {
    return Status::Connected;
}

pub fn get_user() {

}