Use Go 1.4 'generate' to create XDR codec
This commit is contained in:
parent
dc71ec734d
commit
190c61ba2f
|
@ -13,6 +13,9 @@
|
||||||
// You should have received a copy of the GNU General Public License along
|
// You should have received a copy of the GNU General Public License along
|
||||||
// with this program. If not, see <http://www.gnu.org/licenses/>.
|
// with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
//go:generate -command genxdr go run ../../Godeps/_workspace/src/github.com/calmh/xdr/cmd/genxdr/main.go
|
||||||
|
//go:generate genxdr -o message_xdr.go message.go
|
||||||
|
|
||||||
package protocol
|
package protocol
|
||||||
|
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
Loading…
Reference in New Issue