Skip to content

haormj/util

Repository files navigation

Util Build Status GoDoc Go Report Card

Golang util tools

Install

go get github.com/haormj/util

Usage

package main

import (
	"log"

	"github.com/haormj/util"
)

func main() {
	dst, err := util.ByteToUint32([]byte{1, 2, 3, 4})
	if err != nil {
		log.Fatalln(err)
	}
	log.Println(dst)
}