function/

directory
v0.0.0-...-2add1d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2025 License: Apache-2.0

Directories

Path Synopsis
The idea here is to test out sending functions as values over a channel.
The idea here is to test out sending functions as values over a channel.
The idea here is to test out having a function returning another function to be executed next.
The idea here is to test out having a function returning another function to be executed next.
The purpose of this exercise is to test how to compose a function based on what input you give to the function composer.
The purpose of this exercise is to test how to compose a function based on what input you give to the function composer.
Testing out chaining functions on a struct by returning a pointer to the structure from each method.
Testing out chaining functions on a struct by returning a pointer to the structure from each method.
Same as test nr 19 for testing chaining functions on a struct, but this one returns an interface from the methods instead of a pointer to the structs, so we only make the methods available and not the types of the structs while chaining.
Same as test nr 19 for testing chaining functions on a struct, but this one returns an interface from the methods instead of a pointer to the structs, so we only make the methods available and not the types of the structs while chaining.
Higher order functions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL