Merge pull request #671 from Silicon-He/fix-readme-cgo-url
Fix readme cgo url
This commit is contained in:
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -158,7 +158,7 @@ D:\Code\go-admin>go build
|
|||||||
cgo: exec gcc: exec: "gcc": executable file not found in %PATH%
|
cgo: exec gcc: exec: "gcc": executable file not found in %PATH%
|
||||||
```
|
```
|
||||||
|
|
||||||
[解决cgo问题进入](https://doc.go-admin.dev/guide/other/faq.html#_5-cgo-exec-missing-cc-exec-missing-cc-file-does-not-exist)
|
[解决cgo问题进入](https://doc.go-admin.dev/zh-CN/guide/faq#cgo-%E7%9A%84%E9%97%AE%E9%A2%98)
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ D:\Code\go-admin>go build
|
|||||||
cgo: exec gcc: exec: "gcc": executable file not found in %PATH%
|
cgo: exec gcc: exec: "gcc": executable file not found in %PATH%
|
||||||
```
|
```
|
||||||
|
|
||||||
[Solve the cgo problem and enter](https://doc.go-admin.dev/guide/other/faq.html#_5-cgo-exec-missing-cc-exec-missing-cc-file-does-not-exist)
|
[Solve the cgo problem and enter](https://doc.go-admin.dev/guide/faq#cgo-%E7%9A%84%E9%97%AE%E9%A2%98)
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ func (e *SysColumns) GetList(tx *gorm.DB, exclude bool) ([]SysColumns, error) {
|
|||||||
table := tx.Table("sys_columns")
|
table := tx.Table("sys_columns")
|
||||||
table = table.Where("table_id = ? ", e.TableId)
|
table = table.Where("table_id = ? ", e.TableId)
|
||||||
if exclude {
|
if exclude {
|
||||||
notIn := make([]string, 6)
|
notIn := make([]string, 0, 6)
|
||||||
notIn = append(notIn, "id")
|
notIn = append(notIn, "id")
|
||||||
notIn = append(notIn, "create_by")
|
notIn = append(notIn, "create_by")
|
||||||
notIn = append(notIn, "update_by")
|
notIn = append(notIn, "update_by")
|
||||||
|
|||||||
Reference in new issue
Block a user