test.go.gold 642 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // Copyright (c) 2017 Arista Networks, Inc.
  2. // Use of this source code is governed by the Apache License 2.0
  3. // that can be found in the COPYING file.
  4. package main
  5. import (
  6. "bytes"
  7. "strings"
  8. "foobar"
  9. "foobar/baz"
  10. "cvshub.com/foobar/import"
  11. )
  12. import (
  13. "bytes"
  14. "strings"
  15. "foobar"
  16. "foobar/baz"
  17. "cvshub.com/foobar/import"
  18. "cvshub.com/other/import"
  19. )
  20. func foobar() {}
  21. import (
  22. z "bytes"
  23. "strings"
  24. "foobar"
  25. _ "foobar/baz" // in line comment
  26. . "foobar/qux" // in line comment
  27. "cvshub.com/foobar/import"
  28. )
  29. import (
  30. "bytes"
  31. "cvshub.com/foobar/import"
  32. )
  33. import (
  34. "cvshub.com/foobar/import"
  35. )
  36. func main() {
  37. foobar()
  38. }