conv

package
v0.0.0-...-48dbb51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

该包用于bool类型转 1, 0 原由: bool类型不能隐式转换. go各算数运算,比较运算。强制要求类型匹配.

该包实现数字到布尔类型转换

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Btoi

func Btoi(b bool) int

func Itob

func Itob(i int) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL