I am not able to call the methods defined in https://github.com/ethereum/go-ethereum/blob/master/internal/ethapi from my GOLANG code. Can anyone help me about this?

Regards AKM


In Go you can't import an external package if the import path contains the word internal otherwise you get the error use of internal package not allowed. The ethapi is an internal package.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.