1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-14 01:32:27 +08:00

Compare commits

...

1 Commits

Author SHA1 Message Date
dudaodong
2d905ab03e fix: fix word misspelling 2022-12-04 11:25:02 +08:00
3 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ func ToString(value any) string {
newValue, _ := json.Marshal(value) newValue, _ := json.Marshal(value)
return string(newValue) return string(newValue)
// todo: maybe we should't supprt other type convertion // todo: maybe we should't supprt other type conversion
// v := reflect.ValueOf(value) // v := reflect.ValueOf(value)
// log.Panicf("Unsupported data type: %s ", v.String()) // log.Panicf("Unsupported data type: %s ", v.String())
// return "" // return ""

View File

@@ -3,7 +3,7 @@
// Package iterator provides a way to iterate over values stored in containers. // Package iterator provides a way to iterate over values stored in containers.
// note: // note:
// 1. Full feature iterator is complicated, this pacakge is just a experiment to explore how iterators could work in Go. // 1. Full feature iterator is complicated, this package is just a experiment to explore how iterators could work in Go.
// 2. The functionality of this package is very simple and limited, may not meet the actual dev needs. // 2. The functionality of this package is very simple and limited, may not meet the actual dev needs.
// 3. It is currently under development, unstable, and will not be completed for some time in the future. // 3. It is currently under development, unstable, and will not be completed for some time in the future.
// So, based on above factors, you may not use it in production. but, anyone is welcome to improve it. // So, based on above factors, you may not use it in production. but, anyone is welcome to improve it.

View File

@@ -3,7 +3,7 @@
// Package iterator provides a way to iterate over values stored in containers. // Package iterator provides a way to iterate over values stored in containers.
// note: // note:
// 1. Full feature iterator is complicated, this pacakge is just a experiment to explore how iterators could work in Go. // 1. Full feature iterator is complicated, this package is just a experiment to explore how iterators could work in Go.
// 2. The functionality of this package is very simple and limited, may not meet the actual dev needs. // 2. The functionality of this package is very simple and limited, may not meet the actual dev needs.
// 3. It is currently under development, unstable, and will not be completed for some time in the future. // 3. It is currently under development, unstable, and will not be completed for some time in the future.
// So, based on above factors, you may not use it in production. but, anyone is welcome to improve it. // So, based on above factors, you may not use it in production. but, anyone is welcome to improve it.