0/
- GO工具包
- 高性能sql拼接器/轻量级orm暂无
- proto验证器/高效验证器暂无
- 协程池暂无
- logger(丐版log)暂无
- 常用工具包暂无
- 修日志实时分析1. 优化行匹配 2. 优化流程图 3. 更新 taskpool 依赖
- SQL处理
- 加/解密
GO在线工具集
--
--
公告:
⎯⎯ 怕什么真理无穷,进一寸有一寸的欢喜。
--
0 | | 0
说 明
yaml转json
功能介绍
1.在线yaml转json
2.说明: 由于转换过程中, yaml 树的子节点是用 map 保存, 因此在转 json 后, 得到的结果顺序是无序的
示例
apiVersion: v1
kind: Service
metadata:
name: test-k8s
spec:
selector:
app: test-k8s
type: ClusterIP
ports:
- port: 8080
targetPort: 8080
处理后
{
"apiVersion": "v1",
"kind": "Service",
"metadata": {
"name": "test-k8s"
},
"spec": {
"ports": [
{
"port": 8080,
"targetPort": 8080
}
],
"selector": {
"app": "test-k8s"
},
"type": "ClusterIP"
}
}
©2022-2023 gotool.top (committed to improving work efficiency)