mirror of
https://github.com/astaxie/beego.git
synced 2024-11-21 21:20:54 +00:00
7 lines
387 B
Bash
7 lines
387 B
Bash
#!/bin/sh
|
|
|
|
# using pkg/adapter. Usually you want to migrate to V2 smoothly, you could running this script
|
|
|
|
find ./ -name '*.go' -type f -exec sed -i '' -e 's/github.com\/astaxie\/beego/github.com\/astaxie\/beego\/pkg\/adapter/g' {} \;
|
|
find ./ -name '*.go' -type f -exec sed -i '' -e 's/"github.com\/astaxie\/beego\/pkg\/adapter"/beego "github.com\/astaxie\/beego\/pkg\/adapter"/g' {} \;
|