width
fmt.Printf("%*v", 9, 42) // denoted by *precision
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
| // Copyright 2018-2020 CERN | |
| // | |
| // Licensed under the Apache License, Version 2.0 (the "License"); | |
| // you may not use this file except in compliance with the License. | |
| // You may obtain a copy of the License at | |
| // | |
| // http://www.apache.org/licenses/LICENSE-2.0 | |
| // | |
| // Unless required by applicable law or agreed to in writing, software | |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| package store | |
| import ( | |
| "testing" | |
| olog "github.com/owncloud/ocis-pkg/v2/log" | |
| "github.com/owncloud/ocis-settings/pkg/proto/v0" | |
| ) | |
| var scenarios = []struct { |
| diff --git a/pkg/command/accounts.go b/pkg/command/accounts.go | |
| index b449349..f3883eb 100644 | |
| --- a/pkg/command/accounts.go | |
| +++ b/pkg/command/accounts.go | |
| @@ -3,6 +3,8 @@ | |
| package command | |
| import ( | |
| + "fmt" | |
| + |
| { | |
| "data": [ | |
| { | |
| "traceID": "b63a9767dff808cd514d7a8675aa1b62", | |
| "spans": [ | |
| { | |
| "traceID": "b63a9767dff808cd514d7a8675aa1b62", | |
| "spanID": "9e1b5b007424eb45", | |
| "flags": 1, | |
| "operationName": "auth", |
| diff --git a/go.mod b/go.mod | |
| index bb61c09..d3a63d1 100644 | |
| --- a/go.mod | |
| +++ b/go.mod | |
| @@ -6,6 +6,7 @@ require ( | |
| contrib.go.opencensus.io/exporter/jaeger v0.2.1 | |
| contrib.go.opencensus.io/exporter/ocagent v0.6.0 | |
| contrib.go.opencensus.io/exporter/zipkin v0.1.1 | |
| + github.com/UnnoTed/fileb0x v1.1.4 // indirect | |
| github.com/go-chi/chi v4.1.2+incompatible |
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "log" | |
| "net/http" | |
| "os" | |
| "time" | |
| ) |