type golang.org/x/pkgsite/internal.ModuleInfo
34 uses
golang.org/x/pkgsite/internal (current package)
datasource.go#L16: GetNestedModules(ctx context.Context, modulePath string) ([]*ModuleInfo, error)
discovery.go#L44: type ModuleInfo struct {
discovery.go#L88: func (v *ModuleInfo) SeriesPath() string {
discovery.go#L148: ModuleInfo
latest.go#L66: func (li *LatestModuleVersions) PopulateModuleInfo(mi *ModuleInfo) {
unit.go#L23: ModuleInfo
golang.org/x/pkgsite/internal/fetch
fetch.go#L319: ModuleInfo: internal.ModuleInfo{
unit.go#L51: ModuleInfo: internal.ModuleInfo{
golang.org/x/pkgsite/internal/frontend
imports.go#L41: ModuleInfo: internal.ModuleInfo{
overview.go#L29: func blackfridayReadmeHTML(readme *internal.Readme, mi *internal.ModuleInfo) (safehtml.HTML, error) {
overview.go#L75: func LegacyReadmeHTML(ctx context.Context, mi *internal.ModuleInfo, readme *internal.Readme) (_ safehtml.HTML, err error) {
versions.go#L102: linkify := func(mi *internal.ModuleInfo) string {
versions.go#L128: func pathInVersion(v1Path string, mi *internal.ModuleInfo) string {
versions.go#L141: modInfos []*internal.ModuleInfo,
versions.go#L143: linkify func(v *internal.ModuleInfo) string) *VersionsDetails {
golang.org/x/pkgsite/internal/localdatasource
datasource.go#L153: ModuleInfo: internal.ModuleInfo{
datasource.go#L196: func (ds *DataSource) GetNestedModules(ctx context.Context, modulePath string) ([]*internal.ModuleInfo, error) {
golang.org/x/pkgsite/internal/postgres
details.go#L23: func (db *DB) GetNestedModules(ctx context.Context, modulePath string) (_ []*internal.ModuleInfo, err error) {
details.go#L46: var modules []*internal.ModuleInfo
details.go#L131: func (db *DB) GetModuleInfo(ctx context.Context, modulePath, resolvedVersion string) (_ *internal.ModuleInfo, err error) {
details.go#L193: func scanModuleInfo(scan func(dest ...interface{}) error) (*internal.ModuleInfo, error) {
details.go#L194: var mi internal.ModuleInfo
version.go#L29: func (db *DB) GetVersionsForPath(ctx context.Context, path string) (_ []*internal.ModuleInfo, err error) {
version.go#L50: func getPathVersions(ctx context.Context, db *DB, path string, versionTypes ...version.Type) (_ []*internal.ModuleInfo, err error) {
version.go#L86: var versions []*internal.ModuleInfo
version.go#L114: func populateLatestInfo(ctx context.Context, db *DB, mi *internal.ModuleInfo) (err error) {
version.go#L128: func populateLatestInfos(ctx context.Context, db *DB, mis []*internal.ModuleInfo) (err error) {
golang.org/x/pkgsite/internal/proxydatasource
details.go#L25: func (ds *DataSource) GetModuleInfo(ctx context.Context, modulePath, version string) (_ *internal.ModuleInfo, err error) {
details.go#L52: ModuleInfo: internal.ModuleInfo{
details.go#L74: func (ds *DataSource) GetNestedModules(ctx context.Context, modulePath string) (_ []*internal.ModuleInfo, err error) {
golang.org/x/pkgsite/internal/testing/sample
sample.go#L210: func UnitForModuleRoot(m *internal.ModuleInfo) *internal.Unit {
sample.go#L277: func ModuleInfo(modulePath, versionString string) *internal.ModuleInfo {
sample.go#L278: return &internal.ModuleInfo{
sample.go#L356: ModuleInfo: internal.ModuleInfo{
 |
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. |