14 lines
257 B
Coq
14 lines
257 B
Coq
|
module gitea
|
||
|
|
||
|
pub struct Repository {
|
||
|
pub:
|
||
|
id i64
|
||
|
name string
|
||
|
description string
|
||
|
clone_url string
|
||
|
}
|
||
|
|
||
|
pub fn (c &Client) org_repos(name string, conf PagingConfig) ![]Repository {
|
||
|
return c.get<[]Repository>('/orgs/$name/repos', conf)
|
||
|
}
|