兼容修复-fix

该命令从框架v2.3版本开始提供。

使用方式

$ gf fix -h
USAGE
    gf fix

OPTION
    -/--path     directory path, it uses current working directory in default
    -h, --help   more information about this command

用以低版本(当前go.mod中的GoFrame版本)升级高版本(当前CLI使用的GoFrame版本)自动更新本地代码不兼容变更。

注意事项

命令执行前请git提交本地修改内容或执行目录备份。