使用go输出以下代码return [ //今日头条 self::JRTT => [ 'app_id' => '1637582127666189', 'secret' => '9bbc8bcd1e69ad94f60c4e54cdf00a3fc94dcfee', ], //广点通 self::GDT => [ 'client_id' => '1111634984', 'client_secret' => 'SiXqfD0Q4o1Ooe1z', ], //快手 self::KS => [ 'app_id' => '165898200', 'secret' => '2!R1%c#v-*430q#r', ], //VIVO self::VIVO => [ 'app_id' => '20220721003', 'secret' => '9E2F68912F47DD294F477BFC247B5A8D18CAA251D91D4FABA4FB40D05B860E6B', ], ];
时间: 2023-11-27 13:51:18 浏览: 56
以下是使用Go语言输出代码的示例:
```
package main
import "fmt"
func main() {
fmt.Println("return [")
fmt.Println(" //今日头条")
fmt.Println(" self::JRTT => [")
fmt.Println(" 'app_id' => '1637582127666189',")
fmt.Println(" 'secret' => '9bbc8bcd1e69ad94f60c4e54cdf00a3fc94dcfee',")
fmt.Println(" ],")
fmt.Println(" //广点通")
fmt.Println(" self::GDT => [")
fmt.Println(" 'client_id' => '1111634984',")
fmt.Println(" 'client_secret' => 'SiXqfD0Q4o1Ooe1z',")
fmt.Println(" ],")
fmt.Println(" //快手")
fmt.Println(" self::KS => [")
fmt.Println(" 'app_id' => '165898200',")
fmt.Println(" 'secret' => '2!R1%c#v-*430q#r',")
fmt.Println(" ],")
fmt.Println(" //VIVO")
fmt.Println(" self::VIVO => [")
fmt.Println(" 'app_id' => '20220721003',")
fmt.Println(" 'secret' => '9E2F68912F47DD294F477BFC247B5A8D18CAA251D91D4FABA4FB40D05B860E6B',")
fmt.Println(" ],")
fmt.Println("];")
}
```
输出结果为:
```
return [
//今日头条
self::JRTT => [
'app_id' => '1637582127666189',
'secret' => '9bbc8bcd1e69ad94f60c4e54cdf00a3fc94dcfee',
],
//广点通
self::GDT => [
'client_id' => '1111634984',
'client_secret' => 'SiXqfD0Q4o1Ooe1z',
],
//快手
self::KS => [
'app_id' => '165898200',
'secret' => '2!R1%c#v-*430q#r',
],
//VIVO
self::VIVO => [
'app_id' => '20220721003',
'secret' => '9E2F68912F47DD294F477BFC247B5A8D18CAA251D91D4FABA4FB40D05B860E6B',
],
];
```
阅读全文