Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Sprintf (1.14 sec)

  1. src/cmd/go/internal/load/pkg.go

    				foundMain = true
    				break
    			}
    		}
    		if !foundMain {
    			fmt.Fprintf(os.Stderr, "go: warning: %q matched only non-main packages\n", m.Pattern())
    		}
    	}
    
    	return mains
    }
    
    type mainPackageError struct {
    	importPath string
    }
    
    func (e *mainPackageError) Error() string {
    	return fmt.Sprintf("package %s is not a main package", e.importPath)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  2. src/cmd/go/alldocs.go

    //		symbols, methods, and fields.
    //
    // # Print Go environment information
    //
    // Usage:
    //
    //	go env [-json] [-changed] [-u] [-w] [var ...]
    //
    // Env prints Go environment information.
    //
    // By default env prints information as a shell script
    // (on Windows, a batch file). If one or more variable
    // names is given as arguments, env prints the value of
    // each named variable on its own line.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    		// so the object file may refer to the absolute directory
    		// containing the package.
    		fmt.Fprintf(h, "dir %s\n", p.Dir)
    	}
    
    	if p.Module != nil {
    		fmt.Fprintf(h, "go %s\n", p.Module.GoVersion)
    	}
    	fmt.Fprintf(h, "goos %s goarch %s\n", cfg.Goos, cfg.Goarch)
    	fmt.Fprintf(h, "import %q\n", p.ImportPath)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    </p>
    
    <pre class="grammar">
    Function   Behavior
    
    print      prints all arguments; formatting of arguments is implementation-specific
    println    like print but prints spaces between arguments and a newline at the end
    </pre>
    
    <p>
    Implementation restriction: <code>print</code> and <code>println</code> need not
    accept arbitrary argument types, but printing of boolean, numeric, and string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top