README ¶
golibrary document table
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│Path │Func │Method
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│root_container │ │
├───mylog\Log.go_container │ │
├───mylog\call.go_container │ │
│ └───mylog\call.go │Call(f func()) │
├───mylog\check.go_container │ │
│ ├───mylog\check.go │Check2(ret T, err error) (r1 T) │
│ ├───mylog\check.go │Check2Ignore(ret T, err error) (r1 T) │
│ ├───mylog\check.go │CheckIgnore(err any) │
│ ├───mylog\check.go │Check2Bool(ret T, ok bool) (r1 T) │
│ ├───mylog\check.go │Check3(ret1 T1, ret2 T2, err error) (r1 T1, r2 T2) │
│ ├───mylog\check.go │Check3Bool(ret1 T1, ret2 T2, ok bool) (r1 T1, r2 T2) │
│ ├───mylog\check.go │Check4(ret1 T1, ret2 T2, ret3 T3, err error) (r1 T1, r2 T2, r3 T3) │
│ ├───mylog\check.go │Check4Bool(ret1 T1, ret2 T2, ret3 T3, ok bool) (r1 T1, r2 T2, r3 T3) │
│ ├───mylog\check.go │Check5(ret1 T1, ret2 T2, ret3 T3, ret4 T4, err error) (r1 T1, r2 T2, r3 T3, r4 T4) │
│ ├───mylog\check.go │Check5Bool(ret1 T1, ret2 T2, ret3 T3, ret4 T4, ok bool) (r1 T1, r2 T2, r3 T3, r4 T4) │
│ ├───mylog\check.go │Check6(ret1 T1, ret2 T2, ret3 T3, ret4 T4, ret5 T5, err error) (r1 T1, r2 T2, r3 T3, r4 T4, r5 T5) │
│ ├───mylog\check.go │Check6Bool(ret1 T1, ret2 T2, ret3 T3, ret4 T4, ret5 T5, ok bool) (r1 T1, r2 T2, r3 T3, r4 T4, r5 T5) │
│ ├───mylog\check.go │Check7(ret1 T1, ret2 T2, ret3 T3, ret4 T4, ret5 T5, ret6 T6, err error) (r1 T1, r2 T2, r3 T3, r4 T4, r5 T5, r6 T6) │
│ ├───mylog\check.go │Check7Bool(ret1 T1, ret2 T2, ret3 T3, ret4 T4, ret5 T5, ret6 T6, ok bool) (r1 T1, r2 T2, r3 T3, r4 T4, r5 T5, r6 T6) │
│ ├───mylog\check.go │Check(args ...any) │
│ └───mylog\check.go │CheckNil(ptr any) │
├───mylog\diff.go_container │ │
│ └───mylog\diff.go │Diff(oldName string, old byte, newName string, new byte) ( byte) │
├───mylog\indent.go_container │ │
├───mylog\interface.go_container │ │
│ ├───mylog\interface.go │TruncateLogFile() │
│ ├───mylog\interface.go │Reason() (reason string) │
│ ├───mylog\interface.go │HexDump(title string, b byte) │
│ ├───mylog\interface.go │HexInteger(msg T) ( string) │
│ ├───mylog\interface.go │Hex(title string, msg T) ( string) │
│ ├───mylog\interface.go │Info(title string, msg ...any) │
│ ├───mylog\interface.go │Trace(title string, msg ...any) │
│ ├───mylog\interface.go │Warning(title string, msg ...any) │
│ ├───mylog\interface.go │MarshalJson(title string, msg any) │
│ ├───mylog\interface.go │Json(title string, msg ...any) │
│ ├───mylog\interface.go │Success(title string, msg ...any) │
│ ├───mylog\interface.go │Struct(msg any) │
│ ├───mylog\interface.go │SetDebug(debug bool) │
│ ├───mylog\interface.go │Request(Request *http.Request, body bool) │
│ ├───mylog\interface.go │Response(Response *http.Response, body bool) │
│ ├───mylog\interface.go │DumpRequest(req *http.Request, body bool) ( string) │
│ ├───mylog\interface.go │DumpResponse(resp *http.Response, body bool) ( string) │
│ ├───mylog\interface.go │Body() ( string) │
│ └───mylog\interface.go │Message() ( string) │
├───mylog\kind.go_container │ │
│ └───mylog\kind.go │ │func (kind) String() ( string)
├───mylog\util.go_container │ │
│ ├───mylog\util.go │IsAndroid() ( bool) │
│ ├───mylog\util.go │IsWindows() ( bool) │
│ └───mylog\util.go │IsLinux() ( bool) │
├───stream\Gbk2Utf8.go_container │ │
│ ├───stream\Gbk2Utf8.go │Utf82Gbk(utf8 string) (gbk string) │
│ └───stream\Gbk2Utf8.go │Gbk2Utf8(gbk string) (utf8 string) │
├───stream\RandomAny.go_container │ │
│ ├───stream\RandomAny.go │RandomAny(slice T) ( T) │
│ └───stream\RandomAny.go │RandomA2Z() (letters string) │
├───stream\ReadFileSubTimeWithCallBack.go │ReadFileSubTimeWithCallBack(title, path string, callBack func( string)) │
├───stream\UpdateModsByWorkSpace.go │UpdateModsByWorkSpace(isTidy, isUpdateAll bool, modWithCommitID ...string) │
├───stream\app_enum_gen.go_container │ │
│ ├───stream\app_enum_gen.go │ConvertInteger2AppKind(v T) ( AppKind) │
│ ├───stream\app_enum_gen.go │ │func (AppKind) AssertKind(kinds string) ( AppKind)
│ ├───stream\app_enum_gen.go │ │func (AppKind) String() ( string)
│ ├───stream\app_enum_gen.go │ │func (AppKind) Keys() ( string)
│ ├───stream\app_enum_gen.go │ │func (AppKind) Kinds() ( AppKind)
│ └───stream\app_enum_gen.go │ │func (AppKind) SvgFileName() ( string)
├───stream\binary\binary.go_container │ │
│ ├───stream\binary\binary.go │ │func (littleEndian) Uint16(b byte) ( uint16)
│ ├───stream\binary\binary.go │ │func (littleEndian) PutUint16(v uint16) (b byte)
│ ├───stream\binary\binary.go │ │func (littleEndian) Uint32(b byte) ( uint32)
│ ├───stream\binary\binary.go │ │func (littleEndian) PutUint32(v uint32) (b byte)
│ ├───stream\binary\binary.go │ │func (littleEndian) Uint64(b byte) ( uint64)
│ ├───stream\binary\binary.go │ │func (littleEndian) PutUint64(v uint64) (b byte)
│ ├───stream\binary\binary.go │ │func (littleEndian) String() ( string)
│ ├───stream\binary\binary.go │ │func (littleEndian) GoString() ( string)
│ ├───stream\binary\binary.go │ │func (bigEndian) Uint16(b byte) ( uint16)
│ ├───stream\binary\binary.go │ │func (bigEndian) PutUint16(v uint16) (b byte)
│ ├───stream\binary\binary.go │ │func (bigEndian) Uint32(b byte) ( uint32)
│ ├───stream\binary\binary.go │ │func (bigEndian) PutUint32(v uint32) (b byte)
│ ├───stream\binary\binary.go │ │func (bigEndian) Uint64(b byte) ( uint64)
│ ├───stream\binary\binary.go │ │func (bigEndian) PutUint64(v uint64) (b byte)
│ ├───stream\binary\binary.go │ │func (bigEndian) String() ( string)
│ ├───stream\binary\binary.go │ │func (bigEndian) GoString() ( string)
│ ├───stream\binary\binary.go │Read(r io.Reader, order ByteOrder, data any) ( error) │
│ ├───stream\binary\binary.go │Write(w io.Writer, order ByteOrder, data any) ( error) │
│ └───stream\binary\binary.go │Size(v any) ( int) │
├───stream\binary\varint.go_container │ │
│ ├───stream\binary\varint.go │New() ( varintStream) │
│ ├───stream\binary\varint.go │PutUvarint(buf byte, x uint64) ( int) │
│ ├───stream\binary\varint.go │Uvarint(buf byte) ( uint64, int) │
│ ├───stream\binary\varint.go │PutVarint(buf byte, x int64) ( int) │
│ ├───stream\binary\varint.go │Varint(buf byte) ( int64, int) │
│ ├───stream\binary\varint.go │ReadUvarint(r io.ByteReader) ( uint64, error) │
│ └───stream\binary\varint.go │ReadVarint(r io.ByteReader) ( int64, error) │
├───stream\bitfield\bitfield.go_container │ │
│ ├───stream\bitfield\bitfield.go │New(n int) ( BitField) │
│ ├───stream\bitfield\bitfield.go │NewFromUint32(n uint32) ( BitField) │
│ ├───stream\bitfield\bitfield.go │NewFromUint64(n uint64) ( BitField) │
│ ├───stream\bitfield\bitfield.go │ │func (BitField) Size() ( int)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) Bytes() ( byte)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) SetX(index int, v int) ( BitField)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) GetX(index int) ( BitField)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) Set(i uint32)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) Clear(i uint32)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) Flip(i uint32)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) Test(i uint32) ( bool)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) ClearAll()
│ ├───stream\bitfield\bitfield.go │ │func (BitField) SetAll()
│ ├───stream\bitfield\bitfield.go │ │func (BitField) FlipAll()
│ ├───stream\bitfield\bitfield.go │ │func (BitField) ANDMask(m BitField)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) ORMask(m BitField)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) XORMask(m BitField)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) ToUint32() ( uint32)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) ToUint32Safe() ( uint32)
│ ├───stream\bitfield\bitfield.go │ │func (BitField) ToUint64() ( uint64)
│ └───stream\bitfield\bitfield.go │ │func (BitField) ToUint64Safe() ( uint64)
├───stream\checker.go │CheckLoopvarAndNilPoint() │
├───stream\clang\clang.go_container │ │
│ └───stream\clang\clang.go │New() ( Interface) │
├───stream\command.go_container │ │
│ ├───stream\command.go │MakeArg(arg ...string) ( string) │
│ ├───stream\command.go │RunArgs(arg ...string) ( *Session) │
│ ├───stream\command.go │RunCommand(command string) ( *Session) │
│ ├───stream\command.go │NewSession() ( *Session) │
│ └───stream\command.go │ConvertUtf82Gbk(src string) (ss string) │
├───stream\dataBase\mysql_sqlite3.go_container │ │
│ └───stream\dataBase\mysql_sqlite3.go │New() ( Interface) │
├───stream\datasize\datasize.go_container │ │
│ ├───stream\datasize\datasize.go │ │func (Size) Bytes() ( uint64)
│ ├───stream\datasize\datasize.go │ │func (Size) KBytes() ( float64)
│ ├───stream\datasize\datasize.go │ │func (Size) MBytes() ( float64)
│ ├───stream\datasize\datasize.go │ │func (Size) GBytes() ( float64)
│ ├───stream\datasize\datasize.go │ │func (Size) TBytes() ( float64)
│ ├───stream\datasize\datasize.go │ │func (Size) PBytes() ( float64)
│ ├───stream\datasize\datasize.go │ │func (Size) EBytes() ( float64)
│ ├───stream\datasize\datasize.go │ │func (Size) String() ( string)
│ ├───stream\datasize\datasize.go │ │func (Size) MachineString() ( string)
│ ├───stream\datasize\datasize.go │ │func (Size) MarshalText() ( byte, error)
│ └───stream\datasize\datasize.go │Parse(data T) (size Size) │
├───stream\embed.go │ReadEmbedFileMap(embedFiles embed.FS, dir string) ( *) │
├───stream\events\events.go_container │ │
├───stream\firefox\bookmark\spec.go_container │ │
├───stream\firefox\main.go_container │ │
│ ├───stream\firefox\main.go │New() ( Interface) │
│ └───stream\firefox\main.go │DecodeJson(bm *bookmark.Item, prefix string, allUrl ) │
├───stream\gen.go_container │ │
│ ├───stream\gen.go │NewGen() ( Interface) │
│ └───stream\gen.go │Unquote(line string) ( string) │
├───stream\gitproxy.go_container │ │
│ ├───stream\gitproxy.go │GitProxy(isSetProxy bool) │
│ ├───stream\gitproxy.go │SetProxy(s *Buffer, isSetProxy bool) │
│ ├───stream\gitproxy.go │SetNameAndEmail(s *Buffer) │
│ └───stream\gitproxy.go │SetSafecrlf(s *Buffer) │
├───stream\goreleaser.go │GoReleaser() │
├───stream\ico\reader.go_container │ │
│ ├───stream\ico\reader.go │Decode(r io.Reader) ( image.Image, error) │
│ ├───stream\ico\reader.go │DecodeAll(r io.Reader) ( image.Image, error) │
│ └───stream\ico\reader.go │DecodeConfig(r io.Reader) ( image.Config, error) │
├───stream\ico\writer.go │Encode(w io.Writer, im image.Image) │
├───stream\internal\init.go_container │ │
├───stream\internal\protogen.go_container │ │
│ ├───stream\internal\protogen.go │ │func (Options) Run(f func( *Plugin) error)
│ ├───stream\internal\protogen.go │ │func (Options) New(req string) ( *Plugin, error)
│ ├───stream\internal\protogen.go │ │func (GoIdent) String() ( string)
│ ├───stream\internal\protogen.go │ │func (GoImportPath) String() ( string)
│ ├───stream\internal\protogen.go │ │func (GoImportPath) Ident(s string) ( GoIdent)
│ └───stream\internal\protogen.go │ │func (Comments) String() ( string)
├───stream\json.go_container │ │
│ ├───stream\json.go │MarshalJSON(v any) ( byte) │
│ ├───stream\json.go │MarshalJsonToFile(v any, name string) │
│ └───stream\json.go │JsonIndent(b byte) ( string) │
├───stream\lines.go_container │ │
│ ├───stream\lines.go │ToLines(data T) (lines string) │
│ ├───stream\lines.go │ReadLines(fullpath string) ( string, error) │
│ └───stream\lines.go │WriteLines(lines string, fullpath string) ( error) │
├───stream\maps\map.go_container │ │
├───stream\maps\safe_map.go_container │ │
├───stream\maps\safe_slice_map.go_container │ │
├───stream\maps\set.go_container │ │
├───stream\maps\slice_map.go_container │ │
├───stream\maps\std_map.go_container │ │
│ ├───stream\maps\std_map.go │NewStdMap(sources ...) ( ) │
│ └───stream\maps\std_map.go │Cast(m M) ( ) │
├───stream\net\httpClient\httpClient.go_container │ │
│ ├───stream\net\httpClient\httpClient.go │New() ( *Object) │
│ └───stream\net\httpClient\httpClient.go │MockProtoBufPacket(proxyPort string) │
├───stream\net\httpClient\layer.go_container │ │
│ ├───stream\net\httpClient\layer.go │ │func (Layer) IsContainer() ( bool)
│ ├───stream\net\httpClient\layer.go │ │func (Layer) IsStream() ( bool)
│ ├───stream\net\httpClient\layer.go │ │func (Layer) Containers() ( Layer)
│ ├───stream\net\httpClient\layer.go │ │func (Layer) String() ( string)
│ ├───stream\net\httpClient\layer.go │ │func (Layer) Keys() ( string)
│ ├───stream\net\httpClient\layer.go │ │func (Layer) AssertKind(name string) ( Layer)
│ └───stream\net\httpClient\layer.go │ │func (Layer) Kinds() ( Layer)
├───stream\net\netpacket\netpacket.go_container │ │
│ └───stream\net\netpacket\netpacket.go │New() ( Interface) │
├───stream\net\transport\tcp\TCP.go_container │ │
├───stream\net\transport\tcp\interface.go_container │ │
│ └───stream\net\transport\tcp\interface.go │New() ( Interface) │
├───stream\net\transport\udp\UDP.go_container │ │
├───stream\net\transport\udp\interface.go_container │ │
│ └───stream\net\transport\udp\interface.go │New() ( Interface) │
├───stream\net\transport\udp\noChan.go_container │ │
├───stream\orderedmap\orderedmap.go_container │ │
│ └───stream\orderedmap\orderedmap.go │New() (m *) │
├───stream\reflect.go_container │ │
│ ├───stream\reflect.go │IsZero(v reflect.Value) ( bool) │
│ └───stream\reflect.go │ReflectVisibleFields(object any) ( reflect.StructField) │
├───stream\regexp.go_container │ │
│ ├───stream\regexp.go │RegexpWebBodyBlocks(tagName string) ( string) │
│ └───stream\regexp.go │IntegerToIP(ip int64) ( string) │
├───stream\safeStream.gen.go_container │ │
│ ├───stream\safeStream.gen.go │NewBuffer(s T) ( *Buffer) │
│ ├───stream\safeStream.gen.go │ReadFileToLines(path string) (lines string) │
│ ├───stream\safeStream.gen.go │IsFilePath(input string) ( bool) │
│ ├───stream\safeStream.gen.go │NewHexString(s HexString) ( *Buffer) │
│ ├───stream\safeStream.gen.go │NewHexDump(hexdumpStr HexDumpString) (data *Buffer) │
│ ├───stream\safeStream.gen.go │WriteGoFile(name string, data T) │
│ ├───stream\safeStream.gen.go │WriteAppend(name string, data T) │
│ ├───stream\safeStream.gen.go │WriteTruncate(name string, data T) │
│ ├───stream\safeStream.gen.go │WriteBinaryFile(name string, data T) │
│ ├───stream\safeStream.gen.go │CreatDirectory(dir string) ( bool) │
│ ├───stream\safeStream.gen.go │ReaderGzip(data T) ( *Buffer) │
│ ├───stream\safeStream.gen.go │GetPackageName() (pkgName string) │
│ ├───stream\safeStream.gen.go │Concat(slices_ ...S) ( S) │
│ ├───stream\safeStream.gen.go │Lines(x byte) ( string) │
│ ├───stream\safeStream.gen.go │ToCamel(data string, isCommit bool) ( string) │
│ ├───stream\safeStream.gen.go │ToCamelUpper(s string, isCommit bool) ( string) │
│ ├───stream\safeStream.gen.go │ToCamelToLower(s string, isCommit bool) ( string) │
│ ├───stream\safeStream.gen.go │CurrentDirName(path string) (currentDirName string) │
│ ├───stream\safeStream.gen.go │CopyDir(dst, src string) ( error) │
│ ├───stream\safeStream.gen.go │ReadFileAndWriteTruncate(path, dstPath string) │
│ ├───stream\safeStream.gen.go │FileExists(path string) ( bool) │
│ ├───stream\safeStream.gen.go │FixUncPath(path string) ( string) │
│ ├───stream\safeStream.gen.go │DirDepth(dirPath string) (depth int) │
│ ├───stream\safeStream.gen.go │IsDirRoot(path string) ( bool) │
│ ├───stream\safeStream.gen.go │IsDir(path string) ( bool) │
│ ├───stream\safeStream.gen.go │BaseName(path string) ( string) │
│ ├───stream\safeStream.gen.go │TrimExtension(path string) ( string) │
│ ├───stream\safeStream.gen.go │JoinHomeDir(path string) (join string) │
│ ├───stream\safeStream.gen.go │JoinHomeFile(path string) (join string) │
│ ├───stream\safeStream.gen.go │HomeDir() ( string) │
│ ├───stream\safeStream.gen.go │MoveFile(src, dst string) (err error) │
│ ├───stream\safeStream.gen.go │RunDirAbs() ( string) │
│ └───stream\safeStream.gen.go │RunDir() ( string) │
├───stream\script\javaScript\JavaScript.go │Run(src string) ( goja.Value) │
├───stream\strconv.go_container │ │
│ ├───stream\strconv.go │ParseFloat(sizeStr string) (size float64) │
│ ├───stream\strconv.go │Float64ToString(f float64, prec int) ( string) │
│ ├───stream\strconv.go │Float64Cut(value float64, bits int) ( float64, error) │
│ ├───stream\strconv.go │ParseInt(s string) ( int64) │
│ ├───stream\strconv.go │ParseUint(s string) ( uint64) │
│ └───stream\strconv.go │Atoi(s string) ( int) │
├───stream\syslist.go_container │ │
│ ├───stream\syslist.go │IsTermux() ( bool) │
│ ├───stream\syslist.go │IsAix() ( bool) │
│ ├───stream\syslist.go │IsAndroid() ( bool) │
│ ├───stream\syslist.go │IsDarwin() ( bool) │
│ ├───stream\syslist.go │IsDragonfly() ( bool) │
│ ├───stream\syslist.go │IsFreebsd() ( bool) │
│ ├───stream\syslist.go │IsHurd() ( bool) │
│ ├───stream\syslist.go │IsIllumos() ( bool) │
│ ├───stream\syslist.go │IsIos() ( bool) │
│ ├───stream\syslist.go │IsJs() ( bool) │
│ ├───stream\syslist.go │IsLinux() ( bool) │
│ ├───stream\syslist.go │IsNacl() ( bool) │
│ ├───stream\syslist.go │IsNetbsd() ( bool) │
│ ├───stream\syslist.go │IsOpenbsd() ( bool) │
│ ├───stream\syslist.go │IsPlan9() ( bool) │
│ ├───stream\syslist.go │IsSolaris() ( bool) │
│ ├───stream\syslist.go │IsWasip1() ( bool) │
│ ├───stream\syslist.go │IsWindows() ( bool) │
│ └───stream\syslist.go │IsZos() ( bool) │
├───stream\time.go_container │ │
│ ├───stream\time.go │FormatTime(t time.Time) ( string) │
│ ├───stream\time.go │UnFormatTime(s string) ( time.Time) │
│ ├───stream\time.go │FormatDuration(d time.Duration) ( string) │
│ ├───stream\time.go │UnFormatDuration(s string) ( time.Duration) │
│ ├───stream\time.go │GetTimeNowString() ( string) │
│ ├───stream\time.go │GetTimeStamp13Bits() ( int64) │
│ ├───stream\time.go │GetTimeStamp() ( string) │
│ └───stream\time.go │GetDiffDays(dstTime string) ( string) │
├───stream\unicode\unicode.go_container │ │
│ └───stream\unicode\unicode.go │New() ( Interface) │
├───stream\userconfig.go │GetUserConfigDirs() (UserConfigDirs , err error) │
├───stream\util.go_container │ │
│ ├───stream\util.go │SplitFileByLines(filePath string, size int) │
│ ├───stream\util.go │SerialNumber(b string) ( string) │
│ ├───stream\util.go │CutUint16(u uint16) ( uint8) │
│ ├───stream\util.go │CutUint16_(u uint16) ( uint8) │
│ ├───stream\util.go │SwapBytes2HexString2(src HexString) (dst string) │
│ ├───stream\util.go │SwapBytes2HexString(src byte) (dst HexString) │
│ ├───stream\util.go │SwapBytes(src byte) (dst byte) │
│ ├───stream\util.go │AlignString(s string, length int) (ss string) │
│ ├───stream\util.go │SubStrRunes(s string, length int) ( string) │
│ ├───stream\util.go │SlicesIndex(slice any, item any) ( int) │
│ └───stream\util.go │SlicesInsert(slice any, index int, value any) ( any) │
└───stream\version.go_container │ │
│ └───stream\version.go │NewVersion(s ...T) (v *object) │
Directories ¶
Path | Synopsis |
---|---|
constraints
Package constraints defines a set of useful constraints to be used with type parameters.
|
Package constraints defines a set of useful constraints to be used with type parameters. |
datasize
Package datasize provides a data size type and constants.
|
Package datasize provides a data size type and constants. |
deepcopy
deepcopy makes deep copies of things.
|
deepcopy makes deep copies of things. |
widget
module
|
Click to show internal directories.
Click to hide internal directories.