On Wed, Jan 16, 2019, 11:41 AM 伊藤和也 wrote:
> I added some commets to the source file which belongs to "main" package
> but the comments doesn't appear in godoc in html but it appears when it
> belongs to other package "hello".
>
godoc is meant to provide automatically generated documentation abo
Not sure what your need is, but maybe you need time.Since instead of saving the
start time and substracting it from time.Now.
--
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
I'm currently writing a forum, I've been doing that for a few months now.
You know how people have a plushi next to the they can talk to in order to
develop ideas, this is my plushi.
And while writing I've been thinking of all the great forum software PHP
has, vbulletin, phpbb to name the most
I added some commets to the source file which belongs to "main" package but
the comments doesn't appear in godoc in html but it appears when it belongs
to other package "hello".
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe fr
On Tuesday, January 15, 2019 at 4:47:16 PM UTC+3, kuznetso...@gmail.com
wrote:
>
> Hello! Does anyone know how to compile go "hello world" binary for armv5
> processors? Mine setup fails all the time for armv5 and works on armv7.
>
> export TOOLCHAIN=$PWD/tools/
>
> export NDK=~/Library/Android
On Monday, January 14, 2019 at 4:52:37 PM UTC-8, Philip Nelson wrote:
>
> You can't copy from outside the context but you can volume mount it. In my
> docker-compose.yml I have the following for a golang:1.11-alpine image
> derivative:
>
> ```
> volumes:
> - ${GOPATH}:/go
> ```
>
> Phil
On Tuesday, 15 January 2019 13:43:55 UTC+2, Eric Raymond wrote:
>
>
> Have you actually looked it what it outputs?
>
> If not, prepare to be horrified. Maintainability is an issue.
>
Maybe it's a silly thought...
Back in the 1950s compilers needed to be small so as to be at all
executable.
"Can I say a int64 type variable takes 8 bytes of memory and a int32 type
variable takes 4 bytes of memory?"
You can answer your question by reading the specification.
The Go Programming Language Specification
https://golang.org/ref/spec
Numeric types
https://golang.org/ref/spec#Numeric_types
It is easy to check https://play.golang.org/p/nvsccRlckby
On Tuesday, 15 January 2019 13:47:06 UTC+3, 伊藤和也 wrote:
>
> var n1 int32
> var n2 int64
>
>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiv
Hello, everyone,
I am right now doing the cross compilation according to this discussion:
https://github.com/grpc/grpc/issues/9719
and when I do 'make', I got errors like below, What's wrong with this? THX
a lot.
liu@liu-VirtualBox:~/Downloads/grpc$ make HAS_PKG_CONFIG=false
CC=arm-none-eab
Hello! Does anyone know how to compile go "hello world" binary for armv5
processors? Mine setup fails all the time for armv5 and works on armv7.
export TOOLCHAIN=$PWD/tools/
export NDK=~/Library/Android/sdk/ndk-r16b/
$NDK/build/tools/make_standalone_toolchain.py --arch arm --api 14
--install-d
Jason E. Aten :
> I came across this C to Go project. If you could revive the LLVM C output
> you could compile C++ to C with LLVM and then apply it.
>
> https://github.com/elliotchance/c2go
>
> It's rough/incomplete but it might give you something useful.
Have you actually looked it what it ou
Yes, except in a struct with alignment mismatch.
--
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
var n1 int32
var n2 int64
--
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.googl
14 matches
Mail list logo