On Wed, Oct 25, 2017, 2:56 AM Ian Lance Taylor <i...@golang.org> wrote:

> On Tue, Oct 24, 2017 at 5:18 AM,  <2891132l...@gmail.com> wrote:
> >
> > So how to modify it? I don't know clearly.Would you mind helping ,me to
> > solve this problem?
>

Using the SublimeText "build and run" is not really ideal for running a
program with command arguments that keep needing to be changed as you
develop. It requires that you edit your project file and set up a build
command with the desired arguments.

https://stackoverflow.com/a/18512505/496445

That being said, you are a lot better off just running it from a shell like
Ian suggested.


> What problem?  What do you expect to happen?
>
> The error message is telling you that the program expects an IP
> address on the command line.  You could, for example, do this:
>     go run chapter11.2.go 127.0.0.1
>
> Ian
>
>
> > 在 2017年10月24日星期二 UTC+8下午3:06:00,Dave Cheney写道:
> >>
> >> The program you are trying to run requires an argument, an ip address
> >>
> >> On Tuesday, 24 October 2017 18:03:00 UTC+11, 28911...@gmail.com wrote:
> >>>
> >>> Sorry.I see the bug in Sublime Text3 and I can't find the errors.At the
> >>> sane time, I can't solve this problem.It's strange but it can run other
> >>> programmings.
> >>>
> >>> 在 2017年10月23日星期一 UTC+8下午11:28:20,Jan Mercl写道:
> >>>>
> >>>> On Mon, Oct 23, 2017 at 5:23 PM <28911...@gmail.com> wrote:
> >>>>
> >>>> what bug do you see and where?
> >>>>
> >>>>
> >>>> --
> >>>>
> >>>> -j
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "golang-nuts" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to golang-nuts+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-nuts+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to