package share
import "github.com/shuLhan/share"
Package share contains public APIs and libraries for working with Go language, and tools written in Go.
Index ¶
Variables ¶
var ( // Version of this module. Version = `0.54.0` )
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
api | |
api/slack | Package slack provide a simple API for sending message to Slack using only standard packages. |
api/telegram | |
api/telegram/bot | Package bot implement the Telegram Bot API https://core.telegram.org/bots/api. |
cmd | |
cmd/bcrypt | Command bcrypt implements command-line interface to generate and compare bcrypt hash. |
cmd/_cart | |
cmd/_cascaded-random-forest | |
cmd/epoch | Program epoch print the current date and time (Unix seconds, milliseconds, nanoseconds, local time, and UTC time) or the date and time based on the epoch on first parameter. |
cmd/_gofilemode | Program gofilemode inspect the Go file mode [1]. |
cmd/gofmtcomment | Command gofmtcomment is a program to convert "/**/" comment into "//". |
cmd/httpdfs | Program httpdfs implement libhttp.Server with memfs.MemFS. |
cmd/ini | Command ini provide a command line interface to get and set values in the [INI file format]. |
cmd/_lnsmote | |
cmd/_random-forest | |
cmd/sendemail | Program sendemail is command line interface that use lib/email and lib/smtp to send email. |
cmd/_smote | |
cmd/smtpcli | Command smtpcli provide a command line interface to SMTP client protocol. |
cmd/totp | Program totp generate Time-based One-time Password from secret key. |
cmd/xtrk | Command xtrk is command line interface to uncompress and/or unarchive a file. |
internal | |
lib | |
lib/ascii | Package ascii provide a library for working with ASCII characters. |
lib/bytes | Package bytes provide a library for working with byte or slice of bytes. |
lib/clise | Package clise implements circular slice. |
lib/contact | Package contact provide a library to import contact from Google, Microsoft, and Yahoo. |
lib/contact/google | Package google implement Google's contact API v3. |
lib/contact/microsoft | Package microsoft implement Microsoft's Live contact API v1.0. |
lib/contact/vcard | Package vcard implement RFC6350 for encoding and decoding VCard formatted data. |
lib/contact/yahoo | Package yahoo implement user's contacts import using Yahoo API. |
lib/crypto | Package crypto provide a wrapper for standard crypto package and golang.org/x/crypto. |
lib/debug | Package debug provide global debug variable, initialized through environment variable "DEBUG" or directly. |
lib/dns | Package dns implement DNS client and server. |
lib/dsv | Package dsv is a library for working with delimited separated value (DSV). |
lib/email | Package email provide a library for working with Internet Message Format as defined in [RFC 5322]. |
lib/email/dkim | Package dkim provide a library to parse and create DKIM-Signature header field value, as defined in RFC 6376, DomainKeys Identified Mail (DKIM) Signatures. |
lib/email/maildir | Package maildir provide a library to manage message (email), and its folder, using maildir format. |
lib/errors | Package errors provide an error type with code. |
lib/floats64 | Package floats64 provide a library for working with slice of 64 bit float. |
lib/git | Package git provide a wrapper for git command line interface. |
lib/http | Package http implement custom HTTP server with memory file system and simplified routing handler. |
lib/http/sseclient | Package sseclient implement HTTP client for Server-Sent Events (SSE). |
lib/hunspell | Package hunspell is a library to parse the Hunspell file format. |
lib/hunspell/tests | |
lib/ini | Package ini implement reading and writing INI text format as defined by [Git configuration] file syntax. |
lib/ints | Package ints provide a library for working with slice of integer. |
lib/ints64 | Package ints64 provide a library for working with slice of 64 bit integer. |
lib/json | Package json provide a library for working with JSON. |
lib/math | Package math provide generic functions working with math. |
lib/math/big | Package big extends the capabilities of standard "math/big" package by adding custom global precision to Float and Rat; and global rounding mode, and bits precision to Float. |
lib/memfs | Package memfs provide a library for mapping file system into memory and/or to embed it inside go source file. |
lib/memfs/internal | |
lib/mining | Package mining provides library for data mining and statistic related to machine learning. |
lib/mining/classifier | Package classifier provides machine learning classifier library, including CART, Random Forest, Cascaded Random Forest, and KNN. |
lib/mining/classifier/cart | Package cart implement the Classification and Regression Tree by Breiman, et al. |
lib/mining/classifier/crf | Package crf implement the cascaded random forest algorithm, proposed by Baumann et.al in their paper: |
lib/mining/classifier/rf | Package rf implement ensemble of classifiers using random forest algorithm by Breiman and Cutler. |
lib/mining/gain | |
lib/mining/gain/gini | Package gini contain function to calculating Gini gain. |
lib/mining/knn | Package knn implement the K Nearest Neighbor using Euclidean to compute the distance between samples. |
lib/mining/resampling | Package resampling provide common interface, constants, and methods for resampling modules. |
lib/mining/resampling/lnsmote | Package lnsmote implement the Local-Neighborhood algorithm from the paper, |
lib/mining/resampling/smote | Package smote resamples a dataset by applying the Synthetic Minority Oversampling TEchnique (SMOTE). |
lib/mining/tree | |
lib/mining/tree/binary | Package binary contain implementation of binary tree. |
lib/mlog | Package mlog implement buffered multi writers of log. |
lib/net | Package net provide constants and library for networking. |
lib/net/html | Package html extends the golang.org/x/net/html by providing simplified methods to Node. |
lib/numbers | Package numbers provide miscellaneous functions for working with integer, float, slice of integer, and slice of floats. |
lib/os | Package os extend the standard os package to provide additional functionalities. |
lib/os/exec | Package exec wrap the standar package "os/exec" to simplify calling Run with stdout and stderr. |
lib/paseto | Package paseto provide a simple, ready to use, opinionated implementation of Platform-Agnostic SEcurity TOkens (PASETOs) v2 as defined in [paseto-rfc-01]. |
lib/path | Package path implements utility routines for manipulating slash-separated paths. |
lib/reflect | Package reflect extends the standard reflect package. |
lib/runes | Package runes provide a library for working with a single rune or slice of rune. |
lib/smtp | Package smtp provide a library for building SMTP server and client. |
lib/spf | Package spf implement Sender Policy Framework (SPF) per RFC 7208. |
lib/sql | Package sql is an extension to standard library "database/sql.DB" that provide common functionality across DBMS. |
lib/ssh | Package ssh provide a wrapper for golang.org/x/crypto/ssh and a parser for SSH client configuration specification ssh_config(5). |
lib/ssh/config | Package config provide the ssh_config(5) parser and getter. |
lib/ssh/sftp | Package sftp implement SSH File Transfer Protocol v3 as defined in [draft-ietf-secsh-filexfer-02.txt]. |
lib/strings | Package strings provide a library for working with string or slice of strings. |
lib/tabula | Package tabula is a Go library for working with rows, columns, or matrix (table), or in another terms working with data set. |
lib/telemetry | Package telemetry is a library for collecting various Metric, for example from standard runtime/metrics, and send or write it to one or more Forwarder. |
lib/telemetry/internal | |
lib/test | Package test provide library for helping with testing. |
lib/test/mock | Package mock provide a mocking for standard input, standard output, standard error, io.ReadWriter, and [rand.Reader]. |
lib/text | Package text provide common a library for working with text. |
lib/text/diff | Package diff implement text comparison. |
lib/time | Package time provide a library for working with time. |
lib/totp | Package totp implement Time-Based One-Time Password Algorithm based on RFC 6238 [1]. |
lib/websocket | Package websocket provide a library for WebSocket server or client based on [RFC6455]. |
lib/websocket/examples | Package examples provide an example on how to use WebSocket server and client. |
lib/websocket/examples/cmd | |
lib/websocket/examples/cmd/client | Program client provide an example of chat client that connect to WebSocket server. |
lib/websocket/examples/cmd/server | Program server provide an example of WebSocket server as group chat. |
lib/websocket/internal | |
lib/xmlrpc | Package xmlrpc provide an implementation of XML-RPC specification, http://xmlrpc.com/spec.md. |
- Version
- v0.53.1 (latest)
- Published
- Mar 2, 2024
- Platform
- linux/amd64
- Last checked
- 5 days ago –
Tools for package owners.