thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (THRIFT-5052) Make the Go tutorial executable to the end
Date Sun, 19 Jan 2020 21:35:00 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jens Geyer resolved THRIFT-5052.
--------------------------------
    Fix Version/s: 0.14.0
       Resolution: Fixed

> Make the Go tutorial executable to the end
> ------------------------------------------
>
>                 Key: THRIFT-5052
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5052
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Tutorial
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Minor
>             Fix For: 0.14.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Running the Go tutorial fails with division by zero, as follows:
> {code}
> thrift/tutorial/go$ make tutorialclient
> /home/sekikn/repos/thrift/compiler/cpp/thrift --gen go -r ../../tutorial/tutorial.thrift
> GOPATH=`pwd` /usr/bin/go run src/*.go
> ping()
> 1+1=2
> Invalid operation: InvalidOperation({WhatOp:4 Why:Cannot divide by 0})
> error running client: InvalidOperation({WhatOp:4 Why:Cannot divide by 0})
> {code}
> But I think it should be executed to the end just as other language examples, because
the error is an intended one and this is a code example.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message