Skip to content

Commit 78dc6df

Browse files
initial commit
1 parent c6fc9da commit 78dc6df

File tree

6 files changed

+34
-0
lines changed

6 files changed

+34
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build and Run
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
tags:
8+
- '**'
9+
10+
jobs:
11+
build-and-run:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Build
16+
run: make build
17+
- name: Run
18+
run: make run

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build:
2+
go build -o bin/hexlet-path-size ./cmd/hexlet-path-size
3+
4+
run:
5+
./bin/hexlet-path-size

bin/hexlet-path-size

2.28 MB
Binary file not shown.

cmd/hexlet-path-size/main.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package main
2+
3+
import "fmt"
4+
5+
func main() {
6+
fmt.Println("Hello from Hexlet!")
7+
}

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module code
2+
3+
go 1.25.4

path_size.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package goproject242

0 commit comments

Comments
 (0)