mirror of
https://github.com/anotherhadi/github-recon.git
synced 2026-10-05 10:58:25 +02:00
23 lines
364 B
Go
23 lines
364 B
Go
package ghrecon
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/charmbracelet/log"
|
|
"github.com/google/go-github/v72/github"
|
|
)
|
|
|
|
type Recon struct {
|
|
client *github.Client
|
|
logger *log.Logger
|
|
ctx context.Context
|
|
}
|
|
|
|
func NewRecon(client *github.Client, logger *log.Logger, ctx context.Context) *Recon {
|
|
return &Recon{
|
|
client: client,
|
|
logger: logger,
|
|
ctx: ctx,
|
|
}
|
|
}
|