---
outline: deep
---

# API Overview

<b>Lancet (Lancet) is a powerful, comprehensive, efficient and reusable go language tool function library. Contains 25 packages, more than 600 utility functions. Functions cover string processing, slice processing, network, concurrency, encryption and decryption, file processing, time/date, stream processing, iterators, and more.</b>


<style>
.package-title {
    color: black;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}
.package-container {
    font-size: 16px;
    border: 1px dashed;
    padding: 10px;
    text-align: center;
}

.package-cell {
    height: 40px;
    width: 140px;
    display: inline-block;
    vertical-align: middle;
    line-height: 40px;
    background: #ecefff;
    border: 1px solid;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    font-weight: bold;
}
</style>

<div>
    <p class="package-title">lancet function module</p>
    <div class="package-container">
        <div class="package-cell">algorithm</div>
        <div class="package-cell">compare</div>
        <div class="package-cell">concurrency</div>
        <div class="package-cell">condition</div>
        <div class="package-cell">convertor</div>
        <div class="package-cell">cryptor</div>
        <div class="package-cell">datastructure</div>
        <div class="package-cell">datetime</div>
        <div class="package-cell">fileutil</div>
        <div class="package-cell">formatter</div>
        <div class="package-cell">function</div>
        <div class="package-cell">iterator</div>
        <div class="package-cell">maputil</div>
        <div class="package-cell">mathutil</div>
        <div class="package-cell">netutil</div>
        <div class="package-cell">pointer</div>
        <div class="package-cell">random</div>
        <div class="package-cell">retry</div>
        <div class="package-cell">slice</div>
        <div class="package-cell">stream</div>
        <div class="package-cell">structs</div>
        <div class="package-cell">strutil</div>
        <div class="package-cell">system</div>
        <div class="package-cell">tuple</div>
        <div class="package-cell">validator</div>
        <div class="package-cell">xerror</div>
    </div>
</div>

