Skip to content

Commit

Permalink
change package
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-toriya committed Sep 5, 2024
1 parent e25c583 commit f52ff0c
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion arrays/sum.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package arrays
package main

func Sum(numbers []int) int {
sum := 0
Expand Down
2 changes: 1 addition & 1 deletion arrays/sum_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package arrays
package main

import (
"slices"
Expand Down
2 changes: 1 addition & 1 deletion helloworld/hello.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package helloworld
package main

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion helloworld/hello_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package helloworld
package main

import "testing"

Expand Down
2 changes: 1 addition & 1 deletion integers/adder.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package integers
package main

// Add takes two integers and returns the sum of them.
func Add(x, y int) int {
Expand Down
2 changes: 1 addition & 1 deletion integers/adder_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package integers
package main

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion iteration/repeat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package iteration
package main

func Repeat(character string, n int) string {
var repeated string
Expand Down
2 changes: 1 addition & 1 deletion iteration/repeat_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package iteration
package main

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion maps/dictionary.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package maps
package main

type Dictionary map[string]string

Expand Down
2 changes: 1 addition & 1 deletion maps/dictionary_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package maps
package main

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion pointers/wallet.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pointers
package main

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion pointers/wallet_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pointers
package main

import (
"testing"
Expand Down
2 changes: 1 addition & 1 deletion structs/shapes.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package structs
package main

import "math"

Expand Down
2 changes: 1 addition & 1 deletion structs/shapes_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package structs
package main

import "testing"

Expand Down

0 comments on commit f52ff0c

Please sign in to comment.