Skip to content

Commit

Permalink
[strutil] Improve usage examples
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Oct 3, 2023
1 parent 2989036 commit ab6195b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

### 12.79.1

* `[strutil]` Improved usage examples

### 12.79.0

* `[panel]` Added indent customization
Expand Down
2 changes: 1 addition & 1 deletion ek.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
// ////////////////////////////////////////////////////////////////////////////////// //

// VERSION is current ek package version
const VERSION = "12.79.0"
const VERSION = "12.79.1"

// ////////////////////////////////////////////////////////////////////////////////// //

Expand Down
2 changes: 2 additions & 0 deletions strutil/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ func ExampleExclude() {

func ExampleLen() {
fmt.Println(Len("Пример 例子 例 მაგალითად"))
fmt.Println(Len("😚😘🥰"))

// Output:
// 21
// 3
}

func ExampleHead() {
Expand Down

0 comments on commit ab6195b

Please sign in to comment.