tools

package
v0.0.0-...-55e1567 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildBaseResp

func BuildBaseResp(err error) *base.DouyinBaseResponse

func GetFreePort

func GetFreePort() (int, error)

GetFreePort get a free port.

func GetLocalIPv4Address

func GetLocalIPv4Address() (string, error)

func SimpleGeneric

func SimpleGeneric[T comparable](a, b []T) []T

SimpleGeneric has complexity: O(n^2)

Types

This section is empty.

Jump to

Keyboard shortcuts

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