package
Version:
v0.0.5-alpha
Opens a new window with list of versions in this module.
Published: Nov 29, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Complex example
The complex example contains a dummy function which calls an interface. This interface could for example be an HTTP client.
Documentation
¶
Client some client interface
type Response struct {
Message string
}
Response the clients response message
type Worker struct {
Client Client
}
Worker a worker struct containing the client
SomeFunc some function on the client
Source Files
¶
Click to show internal directories.
Click to hide internal directories.