Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: peerStorage与Storage interface
|
username: Haining
I would like to ask everyone, in project2b, peerStorage implements the Storage interface, but its append function signature is different from the one defined in the Storage interface, which causes a build failure. What is the issue here? Because I am new to Golang, I am a bit confused about this point.