[go-nuts] Structs and enums

2016-12-07 Thread Merzouki M';heni
Hello. I'm new to golang. I have to create a struct type which has fields that can be one of a range of specific values (the equivalent of enumerations in JAVA or other languages) This is the struct

[go-nuts] New to golang and have problem with packages

2016-11-04 Thread Merzouki M';heni
Hy, everyone * - workSpace/src/tempConv : contains the main program (package main) - workSpace/src/tempConv/pkg : contains a file of functions that i want to use in main() (package tempConv) * in the main file i *import *the other package *(./tempConv)*, but it dose not work, *even though