<commit_before>#<%= project_name %>

<%= project_name %> is a super minimalist scaffolding for writing a REST API in Go.

## Why should you care?

If you're not entirely sold on an entire Go framework, you're probably the type of person that wants to pick and choose your own middleware depending on what your project calls for.  This scaffolding is as unopinionated as it can be in terms of middleware.

This is a starting point for those who don't want to write scaffolding over and over again, but also want the full flexibility of picking their own middleware.

## User model/controller

You'll note that included is a user model + controller.  This is simply to express a model / controller pattern that I have found works very well.

## Getting started

### Setting up

Before you start, make sure you have [gom](https://github.com/mattn/gom) installed.

You will also need to set an environment variable named `PORT` to the port you would like <%= project_name %> to run on.

After that, run these commands:

```sh
go get <%= package_path %>
cd "$GOPATH/src/<%= package_path %>/"
gom install
gom build
```

Now <%= project_name %> should be ready to run, so just run:

```sh
./<%= project_name %>
```

Head over to `http://localhost:$PORT/users/1` in a browser.  If you get a 200 response, you're all set up.

## License

[MIT](license.txt)
<commit_msg>Updating README to remove gcore specific comments<commit_after>#<%= project_name %>

## Getting started

Before you start, make sure you have [gom](https://github.com/mattn/gom) installed.

You will also need to set an environment variable named `PORT` to the port you would like <%= project_name %> to run on.

After that, run these commands:

```sh
cd "$GOPATH/src/<%= package_path %>/"
gom install
gom build
```

Now <%= project_name %> should be ready to run, so just run:

```sh
./<%= project_name %>
```

or if you have not set the PORT environment variable yet:

```
PORT=8001 ./<%= project_name %>
```

Head over to `http://localhost:$PORT/users/1` in a browser.  If you get a 200 response, you're all set up.

## License

[MIT](license.txt)

{'fraction_non_alphanumeric': 0.1080568720379147, 'fraction_numerical': 0.005687203791469194, 'mean_word_length': 4.074519230769231, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1594825', 'n_tokens_mistral': 669, 'n_tokens_neox': 605, 'n_words': 297}