Skip to content

Commit

Permalink
fixed the first_steps (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
heycatch committed Aug 2, 2024
1 parent e7deec3 commit 5cd08f0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
14 changes: 8 additions & 6 deletions examples/first_steps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
```golang
package main

import ( g "github.com/heycatch/goshikimori" )
import (
g "github.com/heycatch/goshikimori"
)

/*
Expand All @@ -29,8 +31,8 @@ import ( g "github.com/heycatch/goshikimori" )
PRIVATE_KEY можно оставить пустым.
func config() *g.Configuration {
return g.SetConfiguratuib(
"MY_APPLICATION",
return g.SetConfiguration(
"APPLICATION_NAME",
"",
)
}
Expand All @@ -46,9 +48,9 @@ func config() *g.Configuration {
для тех или иных операций.
func config() *g.Configuration {
return g.SetConfiguratuib(
"MY_APPLICATION",
"MY_PRIVATE_KEY",
return g.SetConfiguration(
"APPLICATION_NAME",
"PRIVATE_KEY",
)
}
Expand Down
14 changes: 8 additions & 6 deletions examples/first_steps/README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
```golang
package main

import ( g "github.com/heycatch/goshikimori" )
import (
g "github.com/heycatch/goshikimori"
)

/*
Expand All @@ -28,8 +30,8 @@ the APPLICATION_NAME field will suffice, and the
PRIVATE_KEY can be left blank.
func config() *g.Configuration {
return g.SetConfiguratuib(
"MY_APPLICATION",
return g.SetConfiguration(
"APPLICATION_NAME",
"",
)
}
Expand All @@ -45,9 +47,9 @@ have access rights (what it can do on your behalf)
for certain operations.
func config() *g.Configuration {
return g.SetConfiguratuib(
"MY_APPLICATION",
"MY_PRIVATE_KEY",
return g.SetConfiguration(
"APPLICATION_NAME",
"PRIVATE_KEY",
)
}
Expand Down

0 comments on commit 5cd08f0

Please sign in to comment.