mirror of
https://codeberg.org/scip/golsky.git
synced 2025-12-17 12:40:56 +01:00
added theme system, makes it easier to add more color schemes
This commit is contained in:
@@ -10,3 +10,10 @@ func Contains[E comparable](s []E, v E) bool {
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
func Exists[K comparable, V any](m map[K]V, v K) bool {
|
||||
if _, ok := m[v]; ok {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user