fogfish

Results 67 issues of fogfish

The following example causes the crash for library ```go package main import ( "fmt" "github.com/fogfish/golem/optics" ) type Story struct { Text *string } func main() { l := optics.ForProduct1[*Story, *string]()...

[T] bug

As a Engineer I want to automate simple constructors so that allocation of new type is an "arrow function: (A, B, C) => T" eliminates the boilerplate ```go type T...

[T] user story
[#] hseq

Existing `hseq` implementation supports extractions either using either type or attribute hints ```go type T struct { A A B B } seq = hseq.New[T]() hseq.ForType[T, A](seq) hseq.ForName[T](seq, "B") ```...

[T] user story
[#] hseq

"In fact, since Go 1.17, it is more recommended to use the above introduced unsafe.Add function to do address offset arithmetic operations."

[P] medium
[T] feature
[T] resilience
[#] optics

The idea of field selector has been discussed within https://github.com/fogfish/dynamo library The core idea: The string literal is replaced with function. However, this might bring unnecessary complexity for solving small...

[P] low
[@] review
[T] enabler
[#] hseq

The project fails to build on Windows ARM64, it does not contain the definition of maxMmapSize for given platform. ``` Error: ../../../go/pkg/mod/github.com/akrylysov/[email protected]/fs/os_mmap_windows.go:23:13: undefined array length maxMmapSize or missing type constraint...