Posts by Year

2020

GO 语言基础速查

5 minute read

来源 https://www.runoob.com/go/go-tutorial.html Go 语言结构 Go 语言的基础组成有以下几个部分: 包申明 引入包 函数 变量 语句 & 表达式 注释 package main // 包声明 /* 包声明: ...

bytom 交互工具

less than 1 minute read

概述 本文将简要介绍 bytomcli 和 dashboard 的用法。

Cobra —— CLI 应用程序库

3 minute read

概述 Cobra 是一个库,提供了一个简单的接口来创建功能强大的现代 CLI 工具,类似于 git&go 工具。 Cobra 也是一个应用程序,将生成您的应用程序骨架,以迅速开发基于 Cobra 的应用程序。 本文将简要介绍 Cobra 库的在 Go 环境下的安装和使用。 在 Ubuntu 和 window...

bytom 架构

1 minute read

概述 本文将简要介绍 bytom 的架构及如何编译和开启挖矿。 bytom 总体架构 总体架构如下所示。 bytom 源代码目录结构 tags=v1.0.5 的代码结构如下所示。 ./bytom/ ├── accesstoken Token 管理 ├── account 账户管理...

GO 开发环境的安装与配置

less than 1 minute read

本文将分别介绍如何在 Ubuntu 和 Windows VS code 上安装 GO 开发环境。 Ubuntu Ubuntu 16.04 通过 apt-get install 安装 go 默认版本为 1.6,这个版本很老,比如说 bytom(比原链) 就需要 go 的版本 >= 1.8,因此需要添加 ap...

模板

less than 1 minute read

新建文章 需要新建文章的话,就在 _posts 文件夹下新增一个 .md 文件,提交到远程仓库即可。建议复制本模板,需要更改的地方只有以下 4 处,其余部分与标准 md 没有差异。 插入图片 将图片保存至 ./assets/images/ 文件夹下,调用图片的方式与 md 标准相同,格式为![图片描述]...

挖坑

less than 1 minute read

npm (已填?) 感觉最近这个好火啊,安装任何东西都可以 npm。。。 npm 其实就是 Node.js 的包管理软件。。。一坑套一坑,开坑 JavaScript。 gitbook (已填) 这个 github pages 应该是阴差阳错弄出来的。。。本来想用 gitbook 的。 不过也好,多了一个...

gitbook 简明教程

less than 1 minute read

准备开发环境 安装 Node.js 从在 Node.js 官网下载 Node.js。 会现在一个 .msi 文件,直接安装就好。 安装过程中会有一个选项,问你是否要自动安装 Node.js 缺失的依赖。这个选项默认是否的,我没有勾选,安装完成之后也没有遇到依赖问题。 ...

Back to Top ↑

2019

Welcome to Jekyll!

less than 1 minute read

You’ll find this post in your _posts directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different wa...

Back to Top ↑

2010

Post: Link Permalink

less than 1 minute read

This theme supports link posts, made famous by John Gruber. To use, just add link: http://url-you-want-linked to the post’s YAML front matter and you’re done.

Post: Quote

less than 1 minute read

Only one thing is impossible for God: To find any sense in any copyright law on the planet. Mark Twain

Post: Notice

1 minute read

A notice displays information that explains nearby content. Often used to call attention to a particular detail.

Post: Chat

2 minute read

Abbott: Strange as it may seem, they give ball players nowadays very peculiar names.

Post: Standard

4 minute read

All children, except one, grow up. They soon know that they will grow up, and the way Wendy knew was this. One day when she was two years old she was playing...

Post: Modified Date

less than 1 minute read

This post has been updated and should show a modified date if used in a layout.

Back to Top ↑