zhwwvip

package module
v0.0.0-...-f2400ce Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 10 Imported by: 0

README

zhwwvip

介绍

{以下是码云平台说明,您可以替换此简介 码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 https://gitee.com/enterprises}

软件架构

软件架构说明

安装教程
  1. xxxx
  2. xxxx
  3. xxxx
使用说明
  1. xxxx
  2. xxxx
  3. xxxx
参与贡献
  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request
码云特技
  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. 码云官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解码云上的优秀开源项目
  4. GVP 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
  5. 码云官方提供的使用手册 https://gitee.com/help
  6. 码云封面人物是一档用来展示码云会员风采的栏目 https://gitee.com/gitee-stars/

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Conversion

func Conversion(c ByteConversion, s string) string

字节换算函数

func GetNow

func GetNow() (now string)

获取时间日期

func GetYear

func GetYear() int

获取当年

Types

type Byte

type Byte struct {
	Byte int64
}

字节空接口

type ByteConversion

type ByteConversion interface {
	// contains filtered or unexported methods
}

字节换算接口

type File

type File struct {
}

文件操作空结构体

func (File) BufioFile

func (f File) BufioFile(name string) (n, w int, s string, err error)

只读方式打开文件(有缓冲),并获取文件大小、字数,内容,以及反馈信息

func (File) CopyFile

func (f File) CopyFile(source, target string) (w int64, err error)

func (File) CreateFile

func (f File) CreateFile(name string) (file *os.File, err error)

创建文件,并返回文件句柄、反馈信息。

func (File) CreateFolder

func (f File) CreateFolder(name string) (err error)

创建文件夹,并返回文件句柄、反馈信息。

func (File) GetFileInfo

func (f File) GetFileInfo(name string) (m map[string]interface{}, err error)

获取文件(夹)各项信息:名称、大小、创建时间、最后写入时间、最后打开时间,以及反馈信息。

func (File) IoutilFile

func (f File) IoutilFile(name string) (n, w int, s string, err error)

小文件打开(无缓冲),并获取文件大小、字数,内容,以及反馈信息

func (File) RuleFile

func (f File) RuleFile(name string) (n, w int, s string, err error)

只读方式打开文件(无缓冲),并获取文件大小、字数,内容,以及反馈信息。

Jump to

Keyboard shortcuts

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