Socket
Book a DemoInstallSign in
Socket

4d63.com/fmt

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

4d63.com/fmt

Go
Version
v1.0.1
Version published
Created
Source

fmt

A drop-in replacement package for the Go stdlib fmt package that provides three additional functions that behave the same as their counterpart printf functions, but append a new line on the end.

func Printfln(format string, a ...interface{}) (n int, err error)
func Fprintfln(w io.Writer, format string, a ...interface{})
func Sprintfln(format string, a ...interface{})

Usage

import "4d63.com/fmt"
fmt.Printfln("Hello %s!", "world")
fmt.Printfln("G'day %s!", "world")
// Output:
// Hello world!
// G'day world!

FAQs

Package last updated on 18 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts