2
3import (
4 "bytes"
5 "io/ioutil" 6 "net/http"
7 "testing"
8)
3import (
4 "encoding/json"
5 "io"
6 "io/ioutil" 7 "net/http"
8 "os"
9 "path/filepath"
12 "context"
13 "encoding/json"
14 "fmt"
15 "io/ioutil" 16 "net/http"
17 "time"
18
3import (
4 "encoding/json"
5 "fmt"
6 "io/ioutil" 7 "os"
8 "path/filepath"
9 "sync"
Sometimes a function, variable, constant, field, or whole package becomes redundant or unnecessary but must be kept for compatibility with existing programs. These should not be used except for compatibility with legacy systems.