From 3f9f9c736313b879ec7d627c5202b53a3e2d8d73 Mon Sep 17 00:00:00 2001 From: shantuo Date: Fri, 1 Mar 2019 11:20:45 -0800 Subject: [PATCH] add documentation to InterfaceValue (#142) --- wire.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wire.go b/wire.go index 92a4ebe..df274b1 100644 --- a/wire.go +++ b/wire.go @@ -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: //