Movatterモバイル変換


[0]ホーム

URL:


aliasfix

packagemodule
v0.0.0-...-519ed9bLatest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License:Apache-2.0Imports:13Imported by:0

Details

Repository

github.com/googleapis/google-cloud-go

Links

README

aliasfix

A tool to migrate client library imports from go-genproto to the new stubslocated in google-cloud-go.

Usage

Make sure you dependencies for the cloud client library you depend on andgo-genproto are up to date.

go install cloud.google.com/go/internal/aliasfix/cmd/aliasfix@latestaliasfix .go mod tidy

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenprotoPkgMigration map[string]Pkg = map[string]Pkg{}/* 214 elements not displayed */

GenprotoPkgMigration maps genproto to google-cloud-go packages and trackstheir migration status.

Functions

funcProcessPath

func ProcessPath(pathstring)error

ProcessPath rewrites imports from go-genproto in terms of google-cloud-gotypes.

Types

typeMigrationStatus

type MigrationStatusint

MigrationStatus represents how far along the alias migration is for a givenpackage.

const (// StatusNotMigrated means no progress has been made to migrate the package.StatusNotMigratedMigrationStatus =iota// StatusInProgress means new types have been generated but there are not// yet aliases to these types nor have packages been re-written in terms of// these new types.StatusInProgress// StatusMigrated mean new types are being directly referenced in the GAPIC// layer and genproto aliases are in place.StatusMigrated)

typePkg

type Pkg struct {// ImportPath in the new import path for types.ImportPathstring// Status is current migration status of the associated ImportPath's types.StatusMigrationStatus}

Pkg store information related to the google-cloud-go package and whether ithas been migrated.

Source Files

View all Source files

Directories

PathSynopsis
cmd
aliasfixcommand

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2026 Movatter.jp