将 TOML 转换为 Go 结构体 TOML-To-Go

码农软件 · 软件分类 · 项目构建 · 2019-11-15 17:12:12

软件介绍

TOML 的目标是成为一个极简的配置文件格式。TOML 被设计成可以无歧义地被映射为哈希表,从而被多种语言解析。

通过 toml-to-go 提供的 Web UI,可以方便的将 TOML 转换成 Golang 结构体。

在左侧粘贴 TOML 文件内容即可得到对应的 Struct,接下来可以将得到的结构体使用到你的 Golang 项目中。

界面截图

本文地址:https://codercto.com/soft/d/19057.html

How to Think About Algorithms

How to Think About Algorithms

Jeff Edmonds / Cambridge University Press / 2008-05-19 / USD 38.99

HOW TO THINK ABOUT ALGORITHMS There are many algorithm texts that provide lots of well-polished code and proofs of correctness. Instead, this one presents insights, notations, and analogies t......一起来看看 《How to Think About Algorithms》 这本书的介绍吧!

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具