Go interfaces apply automatically to any types that implement all the methods. This means you can define your interfaces near the code that uses them. They also provide an easy way of stubbing out code for use in unit tests. Here’s an example.
Photos from a trip to Jersey and Guernsey.
St Helier as seen from Elizabeth Castle
Photos from a trip to New York and Montreal.
The Chapelle Notre-Dame-de-Bon-Secours (aka Our Lady of the Harbour from the Cohen song)
Copyright (c) 2024 Michel Hollands