mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
18 lines
215 B
Go
18 lines
215 B
Go
package github
|
|
|
|
import ()
|
|
|
|
type GithubRepo struct {
|
|
Name string
|
|
Owner string
|
|
}
|
|
|
|
func NewGithubRepo(owner string, name string) *GithubRepo {
|
|
repo := GithubRepo{
|
|
Name: name,
|
|
Owner: owner,
|
|
}
|
|
|
|
return &repo
|
|
}
|