跳转到内容

SRE笔记

  • 密码
    • 短链
  • 服务器
  • 关于

golang标签存档订阅

golang 使用七牛kodo对象存储

import ( “context” “github.com/qiniu/go-sdk/v7/aut… 继续阅读 golang 使用七牛kodo对象存储

  • 发表于: 2021-08-31 2021-08-31
  • 作者: dn
  • 分类: SRE
  • 标签: go, golang, https, Mac
  • 发表评论: golang 使用七牛kodo对象存储

golang 使用redis

package main import ( “fmt” “github.com/go-redis/r… 继续阅读 golang 使用redis

  • 发表于: 2021-08-30 2021-08-30
  • 作者: dn
  • 分类: SRE
  • 标签: go, golang, redis
  • 发表评论: golang 使用redis

golang switch case 条件判断

func GenRandomString(c *gin.Context) { length := c… 继续阅读 golang switch case 条件判断

  • 发表于: 2021-08-30 2021-08-30
  • 作者: dn
  • 分类: SRE
  • 标签: gin, go, golang, http, https
  • 发表评论: golang switch case 条件判断

golang redis连接池

package main import( “fmt” “github.com/garyburd/re… 继续阅读 golang redis连接池

  • 发表于: 2021-08-25 2021-08-25
  • 作者: sjx
  • 分类: SRE
  • 标签: go, golang, redis
  • 发表评论: golang redis连接池

golang UrlEncode/UrlDecode网址转码

package main import( “fmt” “net/url” ) func main()… 继续阅读 golang UrlEncode/UrlDecode网址转码

  • 发表于: 2021-08-24 2021-08-24
  • 作者: sjx
  • 分类: SRE
  • 标签: go, golang, html, https, oss
  • 发表评论: golang UrlEncode/UrlDecode网址转码

GOLANG GO1.17 INSTALL

#https://blog.golang.org/go1.17 mv /usr/local/go /… 继续阅读 GOLANG GO1.17 INSTALL

  • 发表于: 2021-08-18 2021-08-18
  • 作者: sjx
  • 分类: SRE
  • 标签: bash, go, golang, https, Linux, tar
  • 发表评论: GOLANG GO1.17 INSTALL

GOLANG GO1.16.6 INSTALL

mv /usr/local/go /usr/local/go_bak wget -c https:/… 继续阅读 GOLANG GO1.16.6 INSTALL

  • 发表于: 2021-08-08 2021-08-08
  • 作者: sjx
  • 分类: SRE
  • 标签: bash, go, golang, https, Linux, tar
  • 发表评论: GOLANG GO1.16.6 INSTALL

golang上传文件到aws s3

go get: go get github.com/globalsign/mgo/bson go g… 继续阅读 golang上传文件到aws s3

  • 发表于: 2021-07-29 2022-10-04
  • 作者: sjx
  • 分类: SRE
  • 标签: aws, go, golang, http, s3
  • 发表评论: golang上传文件到aws s3

golang go1.16.4 install

wget -c https://golang.org/dl/go1.16.4.linux-amd64… 继续阅读 golang go1.16.4 install

  • 发表于: 2021-07-25 2021-07-25
  • 作者: sjx
  • 分类: SRE
  • 标签: bash, go, golang, https, Linux, tar
  • 发表评论: golang go1.16.4 install

golang:map转json字符串

m :=map[string]string{“type”:”10″,”msg”:”hello.”} … 继续阅读 golang:map转json字符串

  • 发表于: 2021-06-01 2021-06-01
  • 作者: sjx
  • 分类: 开发
  • 标签: go, golang, https, json
  • 发表评论: golang:map转json字符串

golang “math/rand” 随机数

简单的随机数生成,结合时间模块初始化种子 “math/rand” rand.Seed(time.No… 继续阅读 golang “math/rand” 随机数

  • 发表于: 2021-06-01 2021-06-01
  • 作者: sjx
  • 分类: SRE
  • 标签: go, golang, https
  • 发表评论: golang “math/rand” 随机数

golang string和int类型相互转换

string转成int: int, err := strconv.Atoi(string) stri… 继续阅读 golang string和int类型相互转换

  • 发表于: 2021-04-16 2021-04-16
  • 作者: javaer, javaer
  • 分类: 开发
  • 标签: go, golang
  • 发表评论: golang string和int类型相互转换

minio golang-client

文档: https://docs.min.io/cn/golang-client-quickstar… 继续阅读 minio golang-client

  • 发表于: 2021-04-15 2021-04-15
  • 作者: javaer, javaer
  • 分类: 开发
  • 标签: go, golang, Minio
  • 发表评论: minio golang-client

go项目简易Dockerfile

FROM golang:1.13.0-stretch AS builder ENV GO111MOD… 继续阅读 go项目简易Dockerfile

  • 发表于: 2021-04-14 2021-04-14
  • 作者: javaer, javaer
  • 分类: 开发
  • 标签: Dockerfile, go, golang, grep, https, Linux
  • 发表评论: go项目简易Dockerfile

google golang项目Dockerfile的一个示例写法

# Build the manager binary FROM golang:1.13 as bui… 继续阅读 google golang项目Dockerfile的一个示例写法

  • 发表于: 2020-12-11 2020-12-11
  • 作者: sjx
  • 分类: SRE
  • 标签: Docker, go, golang, https
  • 发表评论: google golang项目Dockerfile的一个示例写法

分页

上一页 页码: 1 … 页码: 3 页码: 4 页码: 5 页码: 6 页码: 7 页码: 8

搜索

搜索:

近期评论

  • 周周 发表在《Kubernetes部署NextCloud网盘》
  • mysql m-s via gtid – SRE笔记 发表在《MySQL SET GTID_NEXT》
  • kangder 发表在《Kubernetes部署NextCloud网盘》
  • xs 发表在《Kubernetes部署NextCloud网盘》
  • test 发表在《gin不转义html标签》

标签

aws (15) bash (1123) Blockchain (28) centos (28) Docker (105) elasticsearch (26) eth (34) fil (39) go (129) golang (154) Grafana (13) hpc (15) http (299) https (1999) ingress (14) iptables (20) java (75) JVM (20) kubernetes (309) Linux (546) lotus (30) mongoDB (41) MySQL (184) nginx (112) php (25) python (148) redis (34) s3 (75) shell (20) springboot (32) tcp (69) tomcat (15) ubuntu (31) vue (18) windows (42) wordpress (14) zabbix (37) 夏小胖 (31) 安全 (55) 工具 (451) 折腾 (24) 推荐 (15) 硬件 (61) 网络 (246) 资源 (49)

归档

  • 2024 年 12 月
  • 2024 年 11 月
  • 2024 年 10 月
  • 2024 年 9 月
  • 2024 年 8 月
  • 2024 年 7 月
  • 2024 年 6 月
  • 2024 年 5 月
  • 2024 年 4 月
  • 2024 年 3 月
  • 2024 年 2 月
  • 2024 年 1 月
  • 2023 年 12 月
  • 2023 年 11 月
  • 2023 年 10 月
  • 2023 年 9 月
  • 2023 年 8 月
  • 2023 年 7 月
  • 2023 年 6 月
  • 2023 年 5 月
  • 2023 年 4 月
  • 2023 年 3 月
  • 2023 年 2 月
  • 2023 年 1 月
  • 2022 年 12 月
  • 2022 年 11 月
  • 2022 年 10 月
  • 2022 年 9 月
  • 2022 年 8 月
  • 2022 年 7 月
  • 2022 年 6 月
  • 2022 年 5 月
  • 2022 年 4 月
  • 2022 年 3 月
  • 2022 年 2 月
  • 2022 年 1 月
  • 2021 年 12 月
  • 2021 年 11 月
  • 2021 年 10 月
  • 2021 年 9 月
  • 2021 年 8 月
  • 2021 年 7 月
  • 2021 年 6 月
  • 2021 年 5 月
  • 2021 年 4 月
  • 2021 年 3 月
  • 2021 年 2 月
  • 2021 年 1 月
  • 2020 年 12 月
  • 2020 年 11 月
  • 2020 年 10 月
  • 2020 年 9 月
  • 2020 年 8 月
  • 2020 年 7 月
  • 2020 年 6 月
  • 2020 年 5 月
  • 2020 年 4 月
  • 2020 年 3 月
  • 2020 年 2 月
  • 2020 年 1 月
  • 2019 年 12 月
  • 2019 年 11 月
  • 2019 年 10 月
  • 2019 年 9 月
  • 2019 年 8 月
  • 2019 年 7 月
  • 2019 年 6 月
  • 2019 年 5 月
  • 2019 年 4 月
  • 2019 年 3 月
  • 2019 年 2 月
  • 2019 年 1 月
  • 2018 年 12 月
  • 2018 年 11 月
  • 2018 年 10 月
  • 2018 年 9 月
  • 2018 年 8 月
  • 2018 年 7 月
  • 2018 年 6 月
  • 2018 年 5 月
  • 2018 年 4 月
  • 2018 年 3 月
  • 2018 年 2 月
  • 2018 年 1 月
  • 2017 年 12 月
  • 2017 年 11 月
  • 2017 年 10 月
  • 2017 年 8 月
  • 2017 年 7 月
  • 2017 年 6 月
  • 2017 年 5 月
  • 2017 年 4 月
  • 2017 年 3 月
  • 2017 年 2 月
  • 2017 年 1 月
  • 2016 年 12 月
  • 2016 年 11 月
  • 2016 年 10 月
  • 2016 年 9 月
  • 2016 年 8 月
  • 2016 年 7 月
  • 2016 年 6 月
  • 2016 年 5 月
  • 2016 年 4 月
  • 2016 年 3 月
  • 2016 年 2 月
  • 2016 年 1 月
  • 2015 年 12 月
  • 2015 年 10 月
  • 2015 年 9 月
  • 2015 年 8 月
  • 2015 年 7 月
  • 2015 年 6 月
  • 2015 年 5 月
  • 2015 年 4 月
  • 2015 年 3 月
  • 2015 年 2 月
  • 2015 年 1 月
  • 2014 年 12 月
  • 2014 年 11 月
  • 2014 年 10 月
  • 2014 年 9 月
  • 2014 年 8 月
  • 2014 年 7 月
  • 2014 年 6 月
  • 2014 年 5 月
  • 2014 年 2 月