Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Debug, Warn, Info = utils.Loggers()
)
Functions ¶
This section is empty.
Types ¶
type BzAsset ¶
func (*BzAsset) NameWithExt ¶
type BzAssetArrHelper ¶
type BzAssetArrHelper []BzAsset
func (BzAssetArrHelper) CollectNames ¶
func (o BzAssetArrHelper) CollectNames() []string
type GithubResolver ¶
type GithubResolver struct {
// contains filtered or unexported fields
}
func NewGithubResolver ¶
func NewGithubResolver(appCtx *model.AppContext) *GithubResolver
func (*GithubResolver) DownloadResolvedCoord ¶
func (o *GithubResolver) DownloadResolvedCoord(lc *model.LockedCoord) (string, error, bool)
func (*GithubResolver) ResolveCoord ¶
func (o *GithubResolver) ResolveCoord(c *model.FuzzyCoord) (*model.LockedCoord, error)
func (*GithubResolver) String ¶
func (o *GithubResolver) String() string
type LocalDevResolver ¶
type LocalDevResolver struct { }
func NewLocalDevResolver ¶
func NewLocalDevResolver(appCtx *model.AppContext) *LocalDevResolver
func (*LocalDevResolver) DownloadResolvedCoord ¶
func (o *LocalDevResolver) DownloadResolvedCoord(lc *model.LockedCoord) (string, error, bool)
func (*LocalDevResolver) ResolveCoord ¶
func (o *LocalDevResolver) ResolveCoord(c *model.FuzzyCoord) (*model.LockedCoord, error)
func (*LocalDevResolver) String ¶
func (o *LocalDevResolver) String() string
type Resolver ¶
type Resolver interface { // Resolves a fuzzy coord to a hard resolved coord ResolveCoord(c *model.FuzzyCoord) (*model.LockedCoord, error) // Download coord pointed by c into file DownloadResolvedCoord(c *model.LockedCoord) (string, error, bool) }
Click to show internal directories.
Click to hide internal directories.