<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[yilegel写一写]]></title><description><![CDATA[这里没有高深技术，只有才过的坑&归纳总结]]></description><link>https://blog.youkuaiyun.com/thinkthewill</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; thinkthewill]]></copyright><item><title><![CDATA[kubebuilder怎么开始]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/132185190</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/132185190</guid><author>thinkthewill</author><pubDate>Wed, 09 Aug 2023 12:00:33 +0800</pubDate><description><![CDATA[【代码】【无标题】]]></description><category></category></item><item><title><![CDATA[算法2算法2算法2算法2]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/131649218</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/131649218</guid><author>thinkthewill</author><pubDate>Mon, 10 Jul 2023 22:17:33 +0800</pubDate><description><![CDATA[策略模式在golang的sort包中的使用：


]]></description><category></category></item><item><title><![CDATA[【无标题】]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/131614767</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/131614767</guid><author>thinkthewill</author><pubDate>Sat, 08 Jul 2023 18:05:48 +0800</pubDate><description><![CDATA[而对于换行符，Go语言提供了’\n’作为统一的表示方式，可以在不同系统上都使用’\n’来表示换行符。根据cancel只执行一次的特性，解决用函数执行，重复调用的问题（加是否重复的判断）以太网帧的最大有效载荷大小是1500字节（MTU）]]></description><category></category></item><item><title><![CDATA[算法chatgpt回答]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/131540218</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/131540218</guid><author>thinkthewill</author><pubDate>Tue, 04 Jul 2023 17:57:32 +0800</pubDate><description><![CDATA[算法 红黑树和AVL树区别
红黑树和AVL树区别


]]></description><category></category></item><item><title><![CDATA[go reflect优秀源代码中，使用示例]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/120379834</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/120379834</guid><author>thinkthewill</author><pubDate>Sun, 19 Sep 2021 13:41:34 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[go reflect库 示例代码]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/120168626</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/120168626</guid><author>thinkthewill</author><pubDate>Tue, 07 Sep 2021 22:19:35 +0800</pubDate><description><![CDATA[package ceshi

// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

import (
	"bytes"
	"encoding/json"
	"fmt"
	"io"
	"os"
	"reflect"
)

func ExampleK]]></description><category></category></item><item><title><![CDATA[go-zero源码学习]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/118346414</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/118346414</guid><author>thinkthewill</author><pubDate>Wed, 30 Jun 2021 00:27:12 +0800</pubDate><description><![CDATA[文章目录框架：一、core 内核部分1、conf将json、yaml、yml转为internal/config下对应的map结构数据2、mapping3、store3.1、cache3.1.1、redis3.1.2、sqlc 带缓存的sql语句3.1.3、sqlx 直接执行（exec）4、stringx二、rest部分三、rpc部分
框架：
1、框架的作用就是简化开发。其中之一就是已经有很多轮子。如：生成n位随机字符串。如：封装redis使能兼容集群和单node
一、core 内核部分
1、这里面的东西是可]]></description><category></category></item><item><title><![CDATA[go-zero问题protoc-gen-go: unable to determine Go import path for “user.proto“]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/118269956</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/118269956</guid><author>thinkthewill</author><pubDate>Sun, 27 Jun 2021 11:43:39 +0800</pubDate><description><![CDATA[Please specify either:
        • a "go_package" option in the .proto source file, or
        • a "M" argument on the command line.


github官方文档中提到：
9. Important notes 重点：

Use grpc 1.29.1, because etcd lib doesn’t support latter versions.

google.golang.or]]></description><category></category></item><item><title><![CDATA[Minikube安装，用于简单的测试环境]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/118006143</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/118006143</guid><author>thinkthewill</author><pubDate>Fri, 18 Jun 2021 01:19:54 +0800</pubDate><description><![CDATA[kubectl get secret -n kubernetes-dashboard
kubectl describe secret dashboard-admin-token-xp78c(自己的东西（上面输出）)  -n kubernetes-dashboard

#################################################################minikube################################################.]]></description><category></category></item><item><title><![CDATA[全国内环境安装]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/118004851</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/118004851</guid><author>thinkthewill</author><pubDate>Fri, 18 Jun 2021 00:25:36 +0800</pubDate><description><![CDATA[#cat /sys/class/dmi/id/product_uuid
lsmod | grep br_netfilter
modprobe br_netfilter
#smod | grep br_netfilter
cat &lt;&lt;EOF | sudo tee /etc/modules-load.d/k8s.conf
br_netfilter
EOF

cat &lt;&lt;EOF | sudo tee /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-c]]></description><category></category></item><item><title><![CDATA[全外网安装]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/118004828</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/118004828</guid><author>thinkthewill</author><pubDate>Fri, 18 Jun 2021 00:23:21 +0800</pubDate><description><![CDATA[##########master node
#cat /sys/class/dmi/id/product_uuid
lsmod | grep br_netfilter
modprobe br_netfilter
#lsmod | grep br_netfilter
cat &lt;&lt;EOF | sudo tee /etc/modules-load.d/k8s.conf
br_netfilter
EOF

cat &lt;&lt;EOF | sudo tee /etc/sysctl.d/k8s.conf]]></description><category></category></item><item><title><![CDATA[k8s系列-安装]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/118004451</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/118004451</guid><author>thinkthewill</author><pubDate>Fri, 18 Jun 2021 00:12:44 +0800</pubDate><description><![CDATA[概述：
两种可用方式：
一、Minikube安装，用于简单的测试环境
二、kubeadm安装，用于生产环境
1、全外网安装
2、http代理安装
2.1 梯子/代理 请私信
3、全国内环境安装
感触：
连docker都不是很熟的前提下，安装使用k8s，只能用操蛋描述学习过程中的心情。
因为要用到微服务。就得拓展到分布式、docker、k8s、服务治理、grpc、梯子、代理等一系列的东西要同时学习，就其中的任何一个都不是很好学习。
只要k8s会用了，上面的概念就基本理解差不多了。
历时半个月，不知道是不是太烂]]></description><category></category></item><item><title><![CDATA[minikube start 国内服务器无法启动，搞了两天才搞成功]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/117655879</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/117655879</guid><author>thinkthewill</author><pubDate>Mon, 07 Jun 2021 12:13:33 +0800</pubDate><description><![CDATA[关键点：
国内环境必然依赖阿里云的加速器registry.cn-hangzhou.aliyuncs.com/google_containers，但是它又和最新版的minikube依赖的镜像不匹配。
人家是xxxxx/k8s-minikube/storage-provisioner:v5
阿里是：yyyyy/storage-provisioner:v5
（代理就是把xxxxx统一换成了yyyyy）
重点：
1、 国内外 minikube start 时唯一的区别就是 加参数（网上其他参数都是扯淡）
 --im]]></description><category></category></item><item><title><![CDATA[k8s安装]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/117440819</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/117440819</guid><author>thinkthewill</author><pubDate>Tue, 01 Jun 2021 12:49:03 +0800</pubDate><description><![CDATA[命令：
cat &gt;&gt; /etc/yum.repos.d/kubernetes.repo &lt;&lt;eof
[kubernetes]
name=Kubernetes
baseurl=https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-x86_64/
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://mirrors.aliyun.com/kubernetes/yum/]]></description><category></category></item><item><title><![CDATA[gometer]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/117082864</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/117082864</guid><author>thinkthewill</author><pubDate>Thu, 20 May 2021 16:52:00 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[PHP、laravel如何接受json参数（postman传过来的）]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/116273819</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/116273819</guid><author>thinkthewill</author><pubDate>Thu, 29 Apr 2021 17:39:41 +0800</pubDate><description><![CDATA[一张图理解：


]]></description><category></category></item><item><title><![CDATA[micro]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/116141871</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/116141871</guid><author>thinkthewill</author><pubDate>Mon, 26 Apr 2021 01:05:23 +0800</pubDate><description><![CDATA[go 1.16 版本 必须使用 micro工具（不是go-micro）的v3版本

]]></description><category></category></item><item><title><![CDATA[grpc学习]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/116087188</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/116087188</guid><author>thinkthewill</author><pubDate>Sat, 24 Apr 2021 12:39:17 +0800</pubDate><description><![CDATA[项目名称不能使用“-”，否则proto文件不能生成.go文件

]]></description><category></category></item><item><title><![CDATA[一图了解goland调试]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/115740851</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/115740851</guid><author>thinkthewill</author><pubDate>Thu, 15 Apr 2021 21:39:54 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[mac m1芯片 goland不能使用debug的问题，搞了四小时终于成功了]]></title><link>https://blog.youkuaiyun.com/thinkthewill/article/details/115682380</link><guid>https://blog.youkuaiyun.com/thinkthewill/article/details/115682380</guid><author>thinkthewill</author><pubDate>Tue, 13 Apr 2021 23:38:42 +0800</pubDate><description><![CDATA[关键点：使用的go版本不对
应该使用下图中版本（之前可能使用的第二个版本，看到是.pkg文件就没详细看区别直接安装了）

其他问题：
1、使用goland 2020.3.4都不能成功，直接运行结束。也不报错。

但是使用 2021.1就会报错。说 不支持darwin/arm64 1.16.3版本的go,要我使用 go 的sdk去做调试。

2、其实不需要什么sdk， 根本问题是上图中问题。

...]]></description><category></category></item></channel></rss>