taubyte / tau

Open source distributed Platform as a Service (PaaS). A self-hosted Vercel / Netlify / Cloudflare alternative.
https://tau.how
BSD 3-Clause "New" or "Revised" License
3.2k stars 85 forks source link

[seer] use embedding #161

Closed samyfodil closed 3 months ago

samyfodil commented 3 months ago

Seer types should be using embedding. See https://github.com/taubyte/tau/blob/main/protocols/seer/type.go

type oracleService struct {
    seer *Service
}

and

type geoService struct {
    seer *Service
}

Should be:

type oracleService struct {
    *Service
}

and

type geoService struct {
    *Service
}