没救了。脱了裤子放屁。。。
// TData do
type TData struct {
Title string
SiteName string
Keywords string
Description string
NavTitle []string
NavURL []string
Data interface{}
MiitGov string
}
var (
// PageData ok
PageData = TData{
Title: "首页 - 街拍,美腿,丝袜,细高跟,制服,cosplay",
SiteName: "Pic98.com [图酒吧]",
Keywords: "摄影,街拍,丝袜,美腿,约拍,外拍模特",
Description: "全网最新,最全街拍美腿,高清图片,丝袜视频,同城交友,约拍,没有看不到!只有想不到!",
NavTitle: []string{"街拍美腿", "角色COS", "修长美腿"},
NavURL: []string{"4dfe0be9-6b9f-4b68-b67b-10fa72671de7", "6bfffed3-cdb3-4c70-908a-80239eb94870", "f1b9e628-177b-4199-b3d6-8dd771dab2ee"},
MiitGov: "沪ICP备17042145号-3",
}
)
下面还有struct 里面的struct初始化
type oNav struct {
Title string
URL string
}
// TData do
type TData struct {
Title string
SiteName string
Keywords string
Description string
Navs []oNav
Data interface{}
MiitGov string
}
var (
// PageData ok
PageData = TData{
Title: "首页 - 街拍,美腿,丝袜,细高跟,制服,cosplay",
SiteName: "Pic98.com [图酒吧]",
Keywords: "摄影,街拍,丝袜,美腿,约拍,外拍模特",
Description: "全网最新,最全街拍美腿,高清图片,丝袜视频,同城交友,约拍,没有看不到!只有想不到!",
Navs: []oNav{{"街拍美腿", "4dfe0be9-6b9f-4b68-b67b-10fa72671de7"}, {"角色COS", "6bfffed3-cdb3-4c70-908a-80239eb94870"}, {"修长美腿", "f1b9e628-177b-4199-b3d6-8dd771dab2ee"}},
MiitGov: "沪ICP备17042145号-3",
}
)