输入banner图图片脚本导航/分类

go postgresql array

若数组字段rows.Scan用interface{}输入,会乱码,但如果字段可为null,scan又会报错

最后将表里面的字段设为not null,然后go读出的string为image=="{... , ... , ...}"

strings.Split(image[1:len(image)-1],",")

go postgresql array

标签:split   str   null   nbsp   color   bsp   sql   常量   can