type golang.org/x/pkgsite/internal/localdatasource.DataSource
13 uses
golang.org/x/pkgsite/internal/localdatasource (current package)
datasource.go#L28: type DataSource struct {
datasource.go#L37: func New() *DataSource {
datasource.go#L38: return &DataSource{
datasource.go#L46: func (ds *DataSource) Load(ctx context.Context, localPath string) (err error) {
datasource.go#L55: func (ds *DataSource) LoadFromGOPATH(ctx context.Context, importPath string) (err error) {
datasource.go#L68: func (ds *DataSource) fetch(ctx context.Context, modulePath, localPath string) error {
datasource.go#L111: func (ds *DataSource) GetUnit(ctx context.Context, pathInfo *internal.UnitMeta, fields internal.FieldSet, bc internal.BuildContext) (_ *internal.Unit, err error) {
datasource.go#L134: func (ds *DataSource) GetUnitMeta(ctx context.Context, path, requestedModulePath, requestedVersion string) (_ *internal.UnitMeta, err error) {
datasource.go#L174: func (ds *DataSource) findModule(pkgPath string) (_ string, err error) {
datasource.go#L191: func (ds *DataSource) GetLatestInfo(ctx context.Context, unitPath, modulePath string, latestUnitMeta *internal.UnitMeta) (internal.LatestInfo, error) {
datasource.go#L196: func (ds *DataSource) GetNestedModules(ctx context.Context, modulePath string) ([]*internal.ModuleInfo, error) {
datasource.go#L201: func (*DataSource) GetModuleReadme(ctx context.Context, modulePath, resolvedVersion string) (*internal.Readme, error) {
golang.org/x/pkgsite/cmd/pkgsite
main.go#L77: func load(ctx context.Context, ds *localdatasource.DataSource, pathList string) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |