https://github.com/tpkn/underline
Module for underline text
https://github.com/tpkn/underline
Last synced: about 1 month ago
JSON representation
Module for underline text
- Host: GitHub
- URL: https://github.com/tpkn/underline
- Owner: tpkn
- License: mit
- Created: 2021-10-14T09:46:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-14T09:47:17.000Z (over 4 years ago)
- Last Synced: 2025-12-04T14:25:21.880Z (6 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Underline
Module for underline text
## Usage
```go
underline.Custom("Lorem ipsum dolor sit amet", "+", true)
// Lorem ipsum dolor sit amet
// ++++++++++++++++++++++++++
```
```go
underline.Solid("Lorem ipsum dolor sit amet", true)
// Lorem ipsum dolor sit amet
// ──────────────────────────
```
```go
underline.Dashed("Lorem ipsum dolor sit amet", true)
// Lorem ipsum dolor sit amet
// --------------------------
```
```go
underline.Dotted("Lorem ipsum dolor sit amet", true)
// Lorem ipsum dolor sit amet
// ..........................
```