Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
esafonov committed Nov 27, 2023
1 parent f81dc05 commit 36c0c0f
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions collections/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- [Map](maps/README.md) Contains map helpers.
- [Slice](slice/README.md) Contains slice helpers.
- [Set](set/README.md) Realize `Set` type.
- [Group](group/README.md) Realize `Group` type.

## Documentation

Expand Down
2 changes: 2 additions & 0 deletions collections/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package contains functions that simplify operations with maps, slices, sets, groups.
package collections
1 change: 1 addition & 0 deletions collections/group/group.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Realize `Group` type.
package group

// Group.
Expand Down
1 change: 1 addition & 0 deletions collections/maps/map.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Contains map helpers (Map, Filter, Reduce, Clone, Has, Diff and ect.).
package maps

import (
Expand Down
1 change: 1 addition & 0 deletions collections/set/set.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Realize Set type.
package set

import (
Expand Down
1 change: 1 addition & 0 deletions collections/slice/slice.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Contains slice helpers (Map, Filter, Reduce, Fold, Remove, ToMap and ect.).
package slice

import (
Expand Down
1 change: 1 addition & 0 deletions conditions/conditions.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package contains functions that simplify inline conditions.
package conditions

// If returns the value depend to the condition.
Expand Down
2 changes: 1 addition & 1 deletion conv/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[godev]: https://pkg.go.dev/github.com/gotidy/lib/conv

Contains constraints types.
Contains conversion helpers.

## Documentation

Expand Down
1 change: 1 addition & 0 deletions conv/conv.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Contains conversion helpers.
package conv

import (
Expand Down
1 change: 1 addition & 0 deletions math/limits.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Contains mathematic functions.
package math

import "github.com/gotidy/lib/constraints"
Expand Down
2 changes: 2 additions & 0 deletions oneof/oneof.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Realize `OneOf` type. It allows to store different types in one variable.
// OneOf supports also JSON marshalling and unmarshalling.
package oneof

import (
Expand Down
1 change: 1 addition & 0 deletions ptr/ptr.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package ptr contains functions for simplified creation of pointers from constants of basic types.
package ptr

import (
Expand Down
2 changes: 1 addition & 1 deletion sync/semaphore.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Package semaphore provides a weighted semaphore implementation.
// Package semaphore provides a semaphore implementation.
package sync

import "context"
Expand Down

0 comments on commit 36c0c0f

Please sign in to comment.