Documentation
¶
Overview ¶
Copyright 2026 Teradata
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package csync provides concurrent data structures.
Index ¶
- type Map
- type Slice
- func (s *Slice[T]) Append(item T)
- func (s *Slice[T]) Clear()
- func (s *Slice[T]) Get(index int) (T, bool)
- func (s *Slice[T]) Items() []T
- func (s *Slice[T]) Len() int
- func (s *Slice[T]) Range(fn func(int, T) bool)
- func (s *Slice[T]) Seq() iter.Seq[T]
- func (s *Slice[T]) Set(items []T)
- func (s *Slice[T]) SetSlice(items []T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map[K comparable, V any] struct { // contains filtered or unexported fields }
Map is a concurrent-safe map.
type Slice ¶
type Slice[T any] struct { // contains filtered or unexported fields }
Slice is a concurrent-safe slice.
Click to show internal directories.
Click to hide internal directories.