add documentation to InterfaceValue (#142)

This commit is contained in:
shantuo
2019-03-01 11:20:45 -08:00
committed by GitHub
parent 5a138ef498
commit 3f9f9c7363

View File

@@ -125,6 +125,9 @@ func Value(interface{}) ProvidedValue {
}
// InterfaceValue binds an expression to provide a specific interface type.
// The first argument is a pointer to the interface which user wants to provide.
// The second argument is the actual variable value whose type implements the
// interface.
//
// Example:
//